Community Profile Last seen: 2 months ago Active since 2015

Statistics

• • • Content Feed

View by

Question

How to plot shapes in one figure
Dear all, I'm trying to plot many shapes in one figure. I run my code many times and in each time I got a shape in a new figure...

3 months ago | 1 answer | 0

1

Question

how to generate points inside a rectangle not parallel to axis in Matlab
Dear all, I want to generate points inside a rectangle that is not parallel to the axis and have only the length, width, center...

3 months ago | 1 answer | 0

1

Question

how to find volume of the ellipse not in the origin by using the eigenvalues
dear all, i have matrix A has the information of an ellipse not in the origin. i need to find the volume of the ellipse using...

4 years ago | 1 answer | 0

1

Question

how to find the end of major and minor axis of an ellipsoid
Dear, I have this information of an ellipse a=29.2139; b=17.7345; xC= 43.9666; yC=42.9211; angle=29.7207; can any ...

5 years ago | 3 answers | 0

3

Question

how to split a column into many equal columns
dear I have a column of say 200x2 and I need to split into four columns of 50x2 to create a matrix size 50x8. I need to write...

5 years ago | 1 answer | 0

1

Question

how to find index a subset elements from a set of points
Dear, I have this set of points. Z =[23.46, 22.125, 22.308, 22.119, 21.098, 23.018, 20.356, 27.731, 26.388, 26.278; 21....

5 years ago | 1 answer | 0

1

Question

how to set cplex options
Dear all, I'm trying to solve integer programming problem from cplex, but I have problem with setting the options. I need to re...

5 years ago | 0 answers | 0

0

Question

how to use bin2dec for binary numbers called by elements
hello every one, I have a binary matrix A=[0 0 0;1 0 0;0 1 0;1 1 0;0 0 1;0 1 1;1 0 1; 1 1 1]; and I call each column...

5 years ago | 1 answer | 0

1

Question

how to delete column with one number only
Dear All, I need to delete the columns with only one element from this matrix, A =[1 1 1 0 0 ...

5 years ago | 1 answer | 0

1

Question

how to compare the time of code from tow different mechines
Dear, I wrote a code in matlab and run it from my desktop core2 and I want to compare the time with a code has written in C o...

6 years ago | 1 answer | 0

1

Question

how to write this data into a sparse matrix
Dear All, I have this data which is represent 0,1 matrix. it is given in this way. the first element 12,4,3,18,19,10 means th...

6 years ago | 1 answer | 0

1

Question

how to move points by steps to the centre and how to change the direction
Dear, I have these points and a point call centre. I want to accumulate the points around the centre. x=[ 24.5270 2...

6 years ago | 0 answers | 0

0

Question

result of ismember is wrong in my code correct in command window
Dear, I have this code, when I get the result from the loop I find the common rows between pp and pointsout but I got wrong re...

6 years ago | 1 answer | 0

1

Question

how to write suitable stop criteria to my GA code
Dear, I used genetic algorithm from matlab toolbox and I got a good min result using this options. function [x,fval,exit...

6 years ago | 1 answer | 0

1

Question

how to delete a row from a matrix
Dear, I need to delete rows with all zeros from B and corresponding ones from b, where Bx>=b, so I wrote this code but I got...

6 years ago | 1 answer | 0

1

Question

why the command of finding the all short paths for graph ( graphallshortestpaths ) give me wrong numbers
Dear, I'm trying to find all short paths between vertices so I used graphallshortestpaths, but for my matrix A=[1 1 ...

6 years ago | 1 answer | 0

1

Question

how to arrange in order index by number of position
Dear, I have this row =[4 5 2 2 2 1]; its index as Known is [1 2 3 4 5 6]; I want to arrange this index according to...

6 years ago | 3 answers | 0

3

Question

How to return to excute my loop again from a line lay before condition if
Dear, I'm writing my question again to see if there anyone can tell me how return to the line (routeInsertionPoint...

6 years ago | 1 answer | 0

1

Question

How to divide matrix with dimension 300x564 to many submatrices
Dear, I tried to divided a matrix with dimension 300x564 to four or two or even 12 matrices in this code but it give error wh...

6 years ago | 1 answer | 0

1

Question

how to extract minimum matrix by cellfun
Dear All, I have many matrix when I want to find the maximum one by using the size I get the right answer but for minimum mat...

6 years ago | 0 answers | 0

0

Question

how to use simplex method from matlab toolbox to min objective function with Ax>=b
Dear, I want to use simplex method from matlab toolbox and is for the constraints Ax<=b. but I have Ax>=b. Is there any sugge...

6 years ago | 1 answer | 0

1

Question

why using pattrensearch with genetic algorithm gives error while fminunc not
Dear All, I'm using ga from matlab and I need to improve my result so I decided to use local search with GA. I used fminunc i...

6 years ago | 1 answer | 0

1

Question

how to find short paths and diameter for sparse matrix
Dear, i need to find the diameter for a sparse matrix in matlab and the files i found is all_shortest_paths(A,varargin)...

6 years ago | 0 answers | 0

0

Question

save and load command give error
Dear, I'm trying to use these functions but it always give me error. I have a matrix and I need to save it then call it from...

6 years ago | 1 answer | 0