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

etwa 4 Jahre ago | 1 answer | 0

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

etwa 4 Jahre ago | 3 answers | 0

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

mehr als 4 Jahre ago | 1 answer | 0

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

mehr als 4 Jahre ago | 1 answer | 0

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

fast 5 Jahre ago | 0 answers | 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...

etwa 5 Jahre ago | 1 answer | 0

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

etwa 5 Jahre ago | 1 answer | 0

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

mehr als 5 Jahre ago | 1 answer | 0

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

mehr als 5 Jahre ago | 1 answer | 0

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

mehr als 5 Jahre ago | 0 answers | 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...

mehr als 5 Jahre ago | 1 answer | 0

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

mehr als 5 Jahre ago | 1 answer | 0

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

mehr als 5 Jahre ago | 1 answer | 0

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

mehr als 5 Jahre ago | 1 answer | 0

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

mehr als 5 Jahre ago | 3 answers | 0

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

mehr als 5 Jahre ago | 1 answer | 0

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

fast 6 Jahre ago | 1 answer | 0

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

fast 6 Jahre ago | 0 answers | 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...

fast 6 Jahre ago | 1 answer | 0

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

fast 6 Jahre ago | 1 answer | 0

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

fast 6 Jahre ago | 0 answers | 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...

fast 6 Jahre ago | 1 answer | 0

Question

how to change the columns of matrix using row index

dear all, I have this matrix a=[1 0 0 0 1 0; 0 0 1 0 0 1;1 0 1 0 0 0;0 0 1 0 0 1;1 1 0 0 0 0;1 0 0 0 0 0;0 0 0 1 0 0]; ...

fast 6 Jahre ago | 1 answer | 0