Community Profile

photo

Pelajar UM


Last seen: ongeveer een maand ago Active since 2021

Statistics

  • Thankful Level 4
  • First Review
  • Explorer

View badges

Content Feed

View by

Question


regionZoomInteraction only works the first time, bug?
So I noticed this very weird thing which I think is a bug... When the switch is on by default, the regionZoom works as intended...

ongeveer een maand ago | 0 answers | 0

0

answers

Question


Adjust the view of UIAxes
I plot a stl file by pressing a button. Then I rotate it around and change the view. And when I click on the button again, the v...

ongeveer een maand ago | 1 answer | 0

1

answer

Question


Problem with adjusting axis limits in surface plot
Here's the code. I want to show only X values between 0 and 1. Y values between 0.001 and 1000, and adjust the Z automatically....

ongeveer 2 maanden ago | 1 answer | 0

1

answer

Question


Finding column index of the first instance of 1
I have a logical array like this: I want to extrat the colum index of the cells where the first instance of 1 is detected. Li...

2 maanden ago | 2 answers | 0

2

answers

Question


Why is tetramesh painfully slow?
I have a tetrahedral mesh with 35000+ vertices and 60,000+ faces. When I use tetramesh to plot it, it takes like 10 minutes. I...

2 maanden ago | 0 answers | 0

0

answers

Question


Tracing back centroids to the triangle (incenter)
Let's say we have a triangular mesh defined as TR = triangulation (F,P); where F is Nx3 and represents the faces while P is Nx...

3 maanden ago | 0 answers | 0

0

answers

Answered
Stop GIF plot from resizing
Putting this out here in case someone else needs it. This will do the work: ax.PositionConstraint = "innerposition";

3 maanden ago | 0

Question


Stop GIF plot from resizing
I am plotting the displacement of a 3D object. When I save it as GIF, the object size changes frame by frame, pushing away the c...

3 maanden ago | 1 answer | 0

1

answer

Question


waitbar cancel doesn't work
First of all it seems that this is common issue. I read all the topics I could find on the forum here, but there was no clear an...

3 maanden ago | 1 answer | 0

1

answer

Question


exportgraphics dynamic file name
What's the correct syntax if you want to name the files dynamically when using exportgraphics? I have a cell array A with 16 ti...

4 maanden ago | 1 answer | 0

1

answer

Question


Getting camera viewing data in real time
Is there a way to get the following data from a 3D plot in real time as I move the view? app.UIAxes.View; app.UIAxes.CameraPos...

4 maanden ago | 1 answer | 0

1

answer

Question


ismembertol: What am I doing wrong?
x is attached. "Transparency" looks ok but "Lia" is all zero. Any idea what I'm doing wrong here? Transparency = find (x>=0.9...

4 maanden ago | 3 answers | 0

3

answers

Question


Alternative to csv and parquet for arrays
I have pretty massive csv files. It's a pain for both transfer and also in terms of read time. I have been using parquet but t...

4 maanden ago | 0 answers | 0

0

answers

Question


Get clim values from colormap and adjust them in real time
I am trying to get the cmin and cmax values from a colormap, output them to editfields and let the user change them to update th...

4 maanden ago | 2 answers | 0

2

answers

Question


Probing a plot based on colormap information
How can I probe a plot with colormap data? As you see, in this case, it only shows the xyz coordinates which is not really usef...

4 maanden ago | 2 answers | 0

2

answers

Question


Replace zeros with non-zero values from another array
Output1: 71 0 74 75 85 0 88 Output 2: 39242 32 8385 0 17854 74 10499 I want to take the rows wi...

4 maanden ago | 1 answer | 0

1

answer

Question


Finding rows where the first column values are equal
Array A: 13453 10359 9955 5257 5299 5258 5849 3644 5848 5397 7230 5396 17132 17130 17118 4767 4768 4770 8291 8292 8316 ...

4 maanden ago | 1 answer | 0

1

answer

Question


ismember or setdiff but with different number of columns
Is there a similiar function that could be used to achieve the following? A is an array with 1 column B is an array with 3 co...

4 maanden ago | 1 answer | 0

1

answer

Question


freeboundary: indices of elements on the surface?
"elements" represents tetrahedrons, so it is Nx4 and F on the other hand represents triangles, so it is Mx3. Is there a relation...

4 maanden ago | 0 answers | 0

0

answers

Question


Colormap data for elements rather than nodes
I have a 3D mesh with a temperature field that is defined for each element. It seems that the built-in "colormapdata" only accep...

4 maanden ago | 0 answers | 0

0

answers

Question


How to find the optimal parameters for alphaShape?
I have a STL file for which I want to generate a tetrahedral mesh. I know there's already a function for this in the PDE toolbox...

7 maanden ago | 0 answers | 0

0

answers

Answered
setdiff not working for a particular value, bug?
OK. Seems like it's a tolerance issue. It can be solved by using smaller steps: X = setdiff( 1:0.000001:2,D);

7 maanden ago | 0

Question


setdiff not working for a particular value, bug?
Set 1: R = 1.2; F = 1.78; D = 1.29; M = 0.2 Set 2: R = 1.2; F = 2.5; D = 1.59; M = 0.5 And here's the function: V= R/...

7 maanden ago | 2 answers | 0

2

answers

Question


pdist2 output is larger than expected
X= pdist2 (A,B, "chebychev") A and B both are 3000x3 arrays (x,y,z data). Why is X a 3000x3000 array rather than a 3000x1 ...

8 maanden ago | 1 answer | 0

1

answer

Answered
colormapdata for trisurf?
For anyone else wondering, there's a very simple way to do this: F= faces and P=points from triangulation. Field is NX1 array. ...

8 maanden ago | 0

| accepted

Question


colormapdata for trisurf?
Is there a function like colormapdata when plotting surfaces? I'm not referring to colormap which has to have 3 columns. Colorm...

8 maanden ago | 1 answer | 0

1

answer

Question


Comparing arrays and getting the index of extra rows
There are two arrays: A with 8916x3 and B with 6571x3. Each 1x3 set represents xyz coordinates. Array A has some extra coordinat...

8 maanden ago | 1 answer | 0

1

answer

Question


Generating tetrahedral mesh from nodes
I have a series of nodes in space and I want to generate a tetrahedral mesh from them. This is how the accurate geometry looks...

8 maanden ago | 0 answers | 0

0

answers

Question


Removing rows from array using indices
I have a 2530x1 array named Rowidx containing the indices of rows that I want to remove from several other arrays that have diff...

8 maanden ago | 1 answer | 0

1

answer

Question


Finding the first instance of a value in an array
I have an array with many rows and many columns. I want to search the array row by row, find the first instance of a value that ...

8 maanden ago | 2 answers | 0

2

answers

Load more