Community Profile

photo

Pelajar UM


Last seen: ungefär ett år ago Active since 2021

Statistics

  • Thankful Level 4
  • First Review
  • Explorer

View badges

Content Feed

View by

Question


Data fitting using thin-plate spline/interpolation
I have several points in 3D space. I have used the surface fitting function to create a pretty accurate representation. Now I ...

ungefär ett år ago | 2 answers | 1

2

answers

Question


csapi with multiple consecutive coordinates
My x,y data is in the following format. Basically I have separate lines, but all the x and y are in the same array. 0 -15.6434...

mer än ett år ago | 0 answers | 0

0

answers

Question


Extracting coordinates from a text file
I have a text file that contains various info. I am interested in the coordinates that come in the following format: <SERIES_2D...

mer än ett år ago | 1 answer | 0

1

answer

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...

nästan 2 år 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...

nästan 2 år 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....

nästan 2 år 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...

nästan 2 år 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...

nästan 2 år 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...

nästan 2 år 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";

nästan 2 år 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...

nästan 2 år 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...

ungefär 2 år 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...

ungefär 2 år 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...

ungefär 2 år 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...

ungefär 2 år 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...

ungefär 2 år 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...

ungefär 2 år 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...

ungefär 2 år 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...

ungefär 2 år 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 ...

ungefär 2 år 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...

ungefär 2 år 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...

ungefär 2 år 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...

ungefär 2 år 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...

mer än 2 år 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);

mer än 2 år 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/...

mer än 2 år 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 ...

mer än 2 år 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. ...

mer än 2 år 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...

mer än 2 år 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...

mer än 2 år ago | 1 answer | 0

1

answer

Load more