# Pelajar UM

**Statistics**

RANK**139,482**

of 250,452

REPUTATION**0**

CONTRIBUTIONS

**22** Questions

**2** Answers

ANSWER ACCEPTANCE **
72.73%
**

VOTES RECEIVED**0**

RANK

of 17,398

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 104,127

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

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

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

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

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

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

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

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

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

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

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

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

3 months ago | 1 answer | 0

### 1

answerQuestion

Knnsearch: How to output disntace?

Here's the code. It basically finds the nearest sets of x,y,z points in the nodes array. Since the first column is the point its...

3 months ago | 1 answer | 0

### 1

answerQuestion

meshquality: What does it represent and what is a good number?

According to the documentation: meshQuality evaluates the shape quality of mesh elements and returns numbers from 0 to 1 for ea...

3 months ago | 0 answers | 0

### 0

answersQuestion

Converting 3D CAD files to stl?

Is there any function in MATLAB / code on exchange that could convert a universal 3D CAD format such as .stp or .igs to .stl? A...

3 months ago | 1 answer | 0

### 1

answerQuestion

Fitnet: Out of memory error solved by transposing?

Here's the code: net_set = fitnet (4, 'trainlm'); my_ANN = train (net_set, input,output) Input and output both are 49736x3 ar...

3 months ago | 1 answer | 0

### 1

answerQuestion

Sorting cell array based on distance

I have two cell arrays that contain information about the x,y,z coordinates for points in space. These data are random and do no...

3 months ago | 1 answer | 0

### 1

answerQuestion

Exporting mesh generated by MATLAB to ASCII file?

I have generated a 3D mesh from a STL file using the PDE toolbox. How can I extract the mesh in terms of numerical outputs in an...

4 months ago | 1 answer | 0

### 1

answerQuestion

Optimizing 1 equation with 7 variables

I have the following function: f= (a^2/x^2)-((a*(2*b))/x^2)+(2*(b^2)/y^2)+((1/x^2)-(2/y^2))*b^2+((2*(2*d)^2)/s^2)+(((y^2)^-1)-(...

4 months ago | 2 answers | 0

### 2

answersQuestion

Basic example of cellselectioncallback

I cannot find any basic example of cellselectioncallback in the documentation. I know that the indices represent rows and column...

4 months ago | 1 answer | 0

### 1

answerQuestion

Standalone application cannot read p-code?

So my app has an input library that is not bundled together with the app itself. I want to be able to share only specific inputs...

4 months ago | 1 answer | 0

### 1

answerQuestion

Applying format to values in UITable?

So one of the coefficients is very small (10^-7) and the table shows up to 4 decimal by default. So it ends up showing it as zer...

5 months ago | 0 answers | 0

### 0

answersQuestion

Load data into GUI editable fields from txt

I have an application with several inputs. Currently, I input the data manually in the GUI. I want to add a push button and lo...

5 months ago | 0 answers | 0

### 0

answersQuestion

How to use ~= operator as constraint function?

I have a function called "error" that I want to minimize with initial X0 = 1.34. The definition is: function error = objectiveF...

5 months ago | 3 answers | 0