Community Profile

photo

Martha


Last seen: plus de 3 ans il y a Actif depuis 2014

Statistiques

  • Thankful Level 3

Afficher les badges

Content Feed

Afficher par

Question


Find combinations without repetitions from a given set
Hi All, I have a matrix b of size 119x42, I'm trying to find the combinations without repetitions, that results in a vector o...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


Constraints not satisfied with 'ga' solver and integer variables
Hi all, I've been struggling to understand what is the problem with my code. I wrote this long time ago, and now I'm using it...

environ 6 ans il y a | 1 réponse | 1

1

réponse

Question


Issues with solve. Cannot solve symbolically. Returning a numeric approximation instead.
Hi there, I'm trying to use 'solve' for 'a' by using 'syms' but I think it always retrieve an answer even if it didn't solve...

plus de 6 ans il y a | 1 réponse | 0

1

réponse

Question


Why does FMINCON finds a solution even when constraints are not satisfied?
Hi, I'm using FMINCON solver as I need to set up Nonlinear 'OR' constraints (similar to this:http://uk.mathworks.com/help/opt...

plus de 7 ans il y a | 1 réponse | 0

1

réponse

Question


Error with nested function to output history x values of FMINCON
Hello, I want to retrieve the values of x at each iteration of an optimization routine using FMINCON. I've defined a nested fu...

environ 8 ans il y a | 1 réponse | 0

0

réponse

Question


How to use more than one variable as an input for a NonLinear Constraint function with FMINCON
Hello, I have an optimization problem where the number of constraints are subjected to the length of one variable. I'm writin...

environ 8 ans il y a | 1 réponse | 0

1

réponse

Question


Error with FMINCON - Failure in initial user-supplied objective function evaluation
Hi everybody, I'm trying to run an optimization problem with FMINCON, but I keep getting the following error: Error usin...

plus de 8 ans il y a | 1 réponse | 0

1

réponse

Question


How to assign gradual color to a 3d line based on values of another vector
Hi all, I want to assign colour to lines plotted between 3dpoints, based on the values of a fourth vector. The values of the f...

plus de 8 ans il y a | 1 réponse | 0

1

réponse

A répondu
Exponential Curve fit data a & b
Thank you both for the answers, Martha

plus de 9 ans il y a | 0

Question


Exponential Curve fit data a & b
Hi, I'm trying to run a script automatically, and at some point I need to plot an exponential curve into a set of x and y data. ...

plus de 9 ans il y a | 3 réponses | 0

3

réponses

Question


How to create a mask on an image and have the background white?
Hi, I create a mask into an image and I did this: i=roipoly(f1,p1,p2); mask=repmat(i,[1,1,3]); f1(~mask)=1; imshow(f1) ...

plus de 9 ans il y a | 1 réponse | 0

1

réponse

Question


Accesing data in a three dimensional matrix using a for loop
Hi, I want to create a for loop to go through each of the pages (20) of a matrix 400x600x20 (called polygons). The matrices 4...

plus de 9 ans il y a | 1 réponse | 0

1

réponse

Question


Three dimensional arrays with poly2mask in each page
Hi, I need to create several poly2mask that are of size 612x924 I'm trying to do that with a for loop, I create a matrix 612...

plus de 9 ans il y a | 2 réponses | 0

2

réponses

Question


How to flip only some rows inside a matrix?
Hi, I have a matrix xx which is a 6x20 matrix, and I want to flip only the even rows. Im trying this but is doesn't work: ...

plus de 9 ans il y a | 3 réponses | 0

3

réponses

Question


How to divide a line into several parts and obtain the coordinates?
Hi, I want to create a small script that can allow me to divide a line into segments and then retrieve me the coordinates of t...

plus de 9 ans il y a | 2 réponses | 0

2

réponses

Question


Select all points inside a polygon to create a new matrix
Hi, I have a point cloud matrix x,y and I want to create a new matrix with all the points that are inside a polygon to create a...

presque 10 ans il y a | 2 réponses | 0

2

réponses

Question


How to select all the elements of a point cloud that are aligned at +-45 degrees?
Hi, I have a point cloud in x,y,z coordinates its shape is rectangular, and I want to select all the elements that are near a l...

presque 10 ans il y a | 1 réponse | 0

0

réponse

A répondu
How to select element of an array between two values?
Thanks Walter, Both work very well! Do you know also how to do the same but with several columns?, That is, having < 2800 x ...

environ 10 ans il y a | 0

Question


How to select element of an array between two values?
Hi, I have an array of 2800 elements < 2800 x 1 double >, and I want to create a new array only with the values that are grea...

environ 10 ans il y a | 2 réponses | 0

2

réponses

Question


How to create a vector from a random point cloud?
Hi, I have a point cloud in coordinates 'x' and 'y'. x<4794x588> and y<4794x588>. In general the shape of the point cloud is a ...

environ 10 ans il y a | 2 réponses | 0

2

réponses

Question


How to join several matrices into one matrix?
Hello, I have a variable in a form of a matrix but repeat several times, 4794 rows, 1 column and 588 files, e.g. 4794x1x588 d...

environ 10 ans il y a | 2 réponses | 1

2

réponses

Question


How to change the sign of a whole vector?
Hi, I want to plot the displacements from a compressive test, but my data is in negative sign. I have a vector like this but ...

environ 10 ans il y a | 1 réponse | 0

1

réponse