Pelajar UM
Followers: 0 Following: 0
Feeds
提问
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 ...
2 years 前 | 2 个回答 | 1
2
个回答提问
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...
2 years 前 | 1 个回答 | 0
1
个回答提问
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...
2 years 前 | 1 个回答 | 0
1
个回答提问
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...
2 years 前 | 0 个回答 | 0
0
个回答提问
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...
2 years 前 | 1 个回答 | 0
1
个回答提问
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....
2 years 前 | 1 个回答 | 0
1
个回答提问
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 years 前 | 2 个回答 | 0
2
个回答提问
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 years 前 | 0 个回答 | 0
0
个回答提问
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...
2 years 前 | 0 个回答 | 0
0
个回答Stop GIF plot from resizing
Putting this out here in case someone else needs it. This will do the work: ax.PositionConstraint = "innerposition";
2 years 前 | 0
提问
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...
2 years 前 | 1 个回答 | 0
1
个回答提问
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...
2 years 前 | 1 个回答 | 0
1
个回答提问
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...
2 years 前 | 1 个回答 | 0
1
个回答提问
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...
2 years 前 | 1 个回答 | 0
1
个回答提问
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...
2 years 前 | 3 个回答 | 0
3
个回答提问
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...
2 years 前 | 0 个回答 | 0
0
个回答提问
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...
2 years 前 | 2 个回答 | 0
2
个回答提问
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...
2 years 前 | 2 个回答 | 0
2
个回答提问
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...
2 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
2 years 前 | 1 个回答 | 0
1
个回答提问
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...
2 years 前 | 1 个回答 | 0
1
个回答提问
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...
2 years 前 | 1 个回答 | 0
1
个回答提问
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...
2 years 前 | 0 个回答 | 0
0
个回答提问
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...
3 years 前 | 0 个回答 | 0
0
个回答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);
3 years 前 | 0
提问
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/...
3 years 前 | 2 个回答 | 0
2
个回答提问
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 ...
3 years 前 | 1 个回答 | 0
1
个回答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. ...
3 years 前 | 0
| 已接受
提问
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...
3 years 前 | 1 个回答 | 0
1
个回答提问
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...
3 years 前 | 1 个回答 | 0