Question

MATLAB code for ant algorithm
I am looking for a basic ant algorithm code that can find the optimal path between the two points. I have a source point and a d...

6 years ago | 1 answer | 0

1

Question

How to convert MATLAB code to C++ in MATLAB Coder in MATLAB R2014b ?
I have a MATLAB code, which i need to convert in C++. Their are some script which are in MATLAB, how to add them in C++. Please ...

6 years ago | 0 answers | 0

0

Question

How to start MATLAB Coder
I want to use MATLAB coder, to convert my MATLAB code into C programming. I am using MATLAB R2014b, where can i find MATLAB code...

6 years ago | 1 answer | 0

1

Question

Area of polygon for arrays in cell ?
I have a variable named polygon with cell size 1X15 cell. Each cell contains the coordinates of a polygon, in this manner i ha...

7 years ago | 1 answer | 0

1

Division within the cells
e = gdivide(obs,1000);

7 years ago | 0

| accepted

Question

Division within the cells
How can i divide a cell with a fixed number? I have a cell with values <1x40cell>. I need to divide it with 1000. How can i do i...

7 years ago | 1 answer | 0

1

how to find area covered by circles over the rectangle.

7 years ago | 0

How to transpose a cell array ?
reshape command works for this example well. For poly as the name of the cell array, polyre = reshape(poly,[1 8]);

7 years ago | 4

| accepted

Question

How to transpose a cell array ?
Each cell in the cell array contains a matrix, e.g., Suppose the cell array is [8x1] cell Inside which their are...

7 years ago | 2 answers | 1

2

Question

How to store the array in a for loop?
I have written a code as mentioned below, its a for loop in which i want to store the array of each polygon, but im only able to...

7 years ago | 1 answer | 0

1

Question

How to find coordinates of a line?
I have a line which is bisected by some orthogonal lines. Now i want to know the start and the end coordinates of those orthogon...

7 years ago | 1 answer | 0

1

Question

How to draw orthogonal lines ?
I have two points, one is start and the other is end point. I have connected these two points by a straight line. Now i want to ...

7 years ago | 3 answers | 0

3

Question

Plot orthogonal lines between the two points.
Hi, I have coordinates of start and end point (x1,y1) and (x2,y2) respectively. Now i want to plot 6 to 8 orthogonal planes bet...

7 years ago | 0 answers | 0

0

Question

How to find the elevation of a line?
I have a line whose x and y coordinates are known. the line is been drawn within the x_constraint = [0,60] and similarly y_const...

7 years ago | 1 answer | 0

1

Question

Draw 3D objects in MATLAB
I want to draw 3D objects (like, rectangle, cone,etc) but of irregular shapes. The objects should be multiple in numbers (i.e., ...

7 years ago | 1 answer | 0

1

Question

Error in dual simplex algorithm
I have a code for dual simplex algorithm, given below. But i am not able to rectify the error shown by this code. I want to run ...

7 years ago | 0 answers | 0

0

Question

Solving Linear Programming Problem (LPP) in MATLAB
I have a code for LPP mentioned below, but its showing some error which im not able to retify. Please help me with this. f...

7 years ago | 0 answers | 0

0

Question

I have coordinates of some points, example: q = [1,2;3,4;5,6;9,10]; Now i want to add some weightage to the points so that a...

8 years ago | 1 answer | 0

1

Question

Find coordinates of the point in inpolygon.
How can i find the coordinates of the points obtained using inpolygon function. For ex: L = linspace(0,2.*pi,6); xv ...

8 years ago | 0 answers | 0

0

Question

How to assign cost to a point?
I have used 'inpolygon' to find the points that are overlapped on a polygon. example: xv = [1 2 2 1 1 NaN 4 4 5 5 4 NaN 6 ...

8 years ago | 0 answers | 0

0

Question

How to assign cost to the overlaped points on the polygon?
I have used 'inpolygon' to find the points that are overlapped on a polygon. example: xv = [1 2 2 1 1 NaN 4 4 5 5 4 NaN 6 6 7...

8 years ago | 0 answers | 0

0

Question

How to access nested cell data?
I am attaching the file which contains the coordinates of a polygon. I want to split the data given in the attached file into x ...

8 years ago | 1 answer | 0

1

Question

How to calculate the coordinates of the overlaped points over a polygon?
The example on which i tried to apply the inpolygon is: solux=[5.95,6.40,6.2,6.3,6.42,6.81,7.26,7.76,6.5,8.1,8.17,8.6,9....

8 years ago | 0 answers | 0

0

Question

How to seperate x, y axix values
I have a file named 'tree' which contains the x and y values in it. Its an old data so i couldnt remember some file name. So now...

8 years ago | 0 answers | 0

0

Question

Find the coordinates of a point
In a space,i have coordinates of some polygons, and then im using a 'random' function to form points over the entire space. Now ...

8 years ago | 1 answer | 0

1

Question

Calculate the coordinate of intersection point on a polygon
How to calculate the coordinates of the points intersecting the polygon?

8 years ago | 0 answers | 0

0

Question

How to calculate overlapped area?
I have coordinates of some polygons (assume coordinates of some 10 polygons). Now i make a line having some width to pass throug...

8 years ago | 0 answers | 0

0

Question

Area of multiple polygons
I have a cell which contains coordinates of different polygon, eg: if 'A' is a cell which have coordinates of 26 polygon, so...

8 years ago | 1 answer | 0

1

Question

How to get area of a polygon in matlab
I have coordinates of a polygon saved in excel sheet, now i want to get the area of the polygon in matlab. First i will make the...

8 years ago | 2 answers | 0