# Pelajar UM

**Statistics**

RANK**94,184**

of 257,995

REPUTATION**0**

CONTRIBUTIONS

**39** Questions

**3** Answers

ANSWER ACCEPTANCE **
69.23%
**

VOTES RECEIVED**0**

RANK

of 17,781

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 110,207

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

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

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

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

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

1 month 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";

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

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

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

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

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

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

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

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

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

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

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

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

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

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

5 months 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);

6 months 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/...

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

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

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

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

7 months ago | 1 answer | 0

### 1

answerQuestion

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

7 months ago | 0 answers | 0

### 0

answersQuestion

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

7 months ago | 1 answer | 0

### 1

answerQuestion

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

7 months ago | 2 answers | 0

### 2

answersQuestion

Basic question about loops

Very basic question: why is this not working? instead of Idx2=Idx(:,2) Idx3=Idx(:,3) Idx4=Idx(:,4) Idx5=Idx(:,5) I wrote ...

7 months ago | 1 answer | 0

### 1

answerQuestion

knnsearch but with a constraint

I have an 11,000x3 array representing x,y,z coordinates of points in 3D space. I want to find the nearest neighbor using knnsear...

7 months ago | 1 answer | 0