# Pelajar UM

**Statistics**

RANK**33,866**

of 275,807

REPUTATION**1**

CONTRIBUTIONS

**44** Questions

**3** Answers

ANSWER ACCEPTANCE **
68.18%
**

VOTES RECEIVED**1**

RANK

of 18,575

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 125,602

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

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

2 months ago | 2 answers | 1

### 2

answersQuestion

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

7 months ago | 0 answers | 0

### 0

answersQuestion

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

7 months ago | 1 answer | 0

### 1

answerQuestion

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

10 months ago | 0 answers | 0

### 0

answersQuestion

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

10 months ago | 1 answer | 0

### 1

answerQuestion

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

11 months ago | 1 answer | 0

### 1

answerQuestion

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

11 months ago | 2 answers | 0

### 2

answersQuestion

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

11 months ago | 0 answers | 0

### 0

answersQuestion

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

11 months ago | 0 answers | 0

### 0

answersStop GIF plot from resizing

Putting this out here in case someone else needs it. This will do the work: ax.PositionConstraint = "innerposition";

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

11 months ago | 1 answer | 0

### 1

answerQuestion

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

12 months ago | 1 answer | 0

### 1

answerQuestion

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

1 year ago | 1 answer | 0

### 1

answerQuestion

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

1 year ago | 1 answer | 0

### 1

answerQuestion

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

1 year ago | 3 answers | 0

### 3

answersQuestion

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

1 year ago | 0 answers | 0

### 0

answersQuestion

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

1 year ago | 2 answers | 0

### 2

answersQuestion

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

1 year ago | 2 answers | 0

### 2

answersQuestion

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

1 year ago | 1 answer | 0

### 1

answerQuestion

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

1 year ago | 1 answer | 0

### 1

answerQuestion

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

1 year ago | 1 answer | 0

### 1

answerQuestion

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

1 year ago | 0 answers | 0

### 0

answersQuestion

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

1 year ago | 0 answers | 0

### 0

answersQuestion

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

1 year ago | 0 answers | 0

### 0

answerssetdiff 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);

1 year 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/...

1 year ago | 2 answers | 0

### 2

answersQuestion

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

1 year ago | 1 answer | 0

### 1

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

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

1 year ago | 1 answer | 0

### 1

answerQuestion

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

1 year ago | 1 answer | 0