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

4 years ago | 1 answer | 0

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

4 years ago | 0 answers | 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...

4 years ago | 1 answer | 0

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

5 years ago | 1 answer | 0

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

5 years ago | 1 answer | 0

Answered

how to find area covered by circles over the rectangle.

Please check the link given below: http://in.mathworks.com/matlabcentral/fileexchange/38463-circles-rectangle-intersection-a...

how to find area covered by circles over the rectangle.

Please check the link given below: http://in.mathworks.com/matlabcentral/fileexchange/38463-circles-rectangle-intersection-a...

5 years ago | 0

Answered

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]);

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]);

5 years ago | 1

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

5 years ago | 2 answers | 1

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

5 years ago | 1 answer | 0

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

5 years ago | 1 answer | 0

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

5 years ago | 3 answers | 0

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

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

5 years ago | 1 answer | 0

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

5 years ago | 1 answer | 0

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

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

5 years ago | 0 answers | 0

Question

Add weightage to the points.

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

5 years ago | 1 answer | 0

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

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

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

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

5 years ago | 1 answer | 0

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

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

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

6 years ago | 1 answer | 0

Question

Calculate the coordinate of intersection point on a polygon

How to calculate the coordinates of the points intersecting the polygon?

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

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

6 years ago | 1 answer | 0

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

6 years ago | 2 answers | 0

Question

How to add cost to a polygon?

I have coordinates of some polygons and they are stored in a cell, now i want to add cost to those, how can i do that? For ex: t...

6 years ago | 1 answer | 0