Question


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

8 months ago | 1 answer | 0

1

answer

Question


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

8 months ago | 1 answer | 0

1

answer

Question


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

8 months ago | 1 answer | 0

1

answer

Question


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

8 months ago | 0 answers | 0

0

answers

Question


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

9 months ago | 1 answer | 0

1

answer

Question


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

9 months ago | 1 answer | 0

1

answer

Question


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

9 months ago | 1 answer | 0

1

answer

Question


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

9 months ago | 1 answer | 0

1

answer

Question


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

10 months ago | 2 answers | 0

2

answers

Question


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

10 months ago | 1 answer | 0

1

answer

Question


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

10 months ago | 1 answer | 0

1

answer

Question


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

10 months ago | 0 answers | 0

0

answers

Question


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

10 months ago | 0 answers | 0

0

answers

Question


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

10 months ago | 3 answers | 0

3

answers