Community Profile # KalMandy

### University of Agder

Active since 2016

#### Statistics

• • #### Content Feed

View by

Question

2D Random path within a unit square
Hi all, I want to generate a random path within a unit square and get the x,y coordinates of n=1000 points on it. start point a...

más de 4 años ago | 2 answers | 0

### 2

Question

Random path coordinates in 2D within a unit square
Hi all, I want to generate a random path within a unit square and get the x,y coordinates of 1000 points on it. Can you suggest ...

más de 4 años ago | 2 answers | 0

### 2

Question

overlap between between multiple circles using circcirc
Hi all, I have 10 circles with random center positions but with same radius (but the radius, R= r1:r2). I want to find the in...

más de 4 años ago | 1 answer | 0

### 1

Question

finding overlapping area between two random contours
Hi all, I have x and y coordinates of closed contours with random shapes. I want to find the overlapping area in between any of...

más de 4 años ago | 1 answer | 0

### 1

Question

calculating angle between three points
angle = atan2(abs(det([P2-P0;P1-P0])),dot(P2-P0,P1-P0)); I have seen that the angle between three points can be calculated a...

más de 4 años ago | 2 answers | 0

### 2

Question

points lying on a line from a particular distance
Hi All, In my matlab program , I find two points from solving the line equation (given a point and the angle) and the distance ...

casi 5 años ago | 2 answers | 0

### 2

Question

calling an array which is initialized inside an if statement + for loop, outside the loop
hi, i have a if statement and it runs a for loop in each case where it is true and false. An array is initialized and assigned ...

casi 5 años ago | 1 answer | 0

### 1

Question

points lying inside a polygon and a circle
How can I find the number of point lies inside both a circle and a polygon (the point should lie in the mutual/overlapping area ...

casi 5 años ago | 2 answers | 0

### 2

Question

changing the location of num2str
Hi, I am using the following to illustrate the index of the (x,y) location inside a polygon. text(x(i),y(i),num2str(i) With t...

casi 5 años ago | 2 answers | 0

### 2

Question

num2str font size
Hi, can someone tell me how to increase the font size when using num2str? ex:text(x(i),y(i),num2str(i))

casi 5 años ago | 2 answers | 0

### 2

Question

Error:Index exceeds matrix dimensions.
I have two arrays; onpointX1 = NaN NaN NaN NaN NaN NaN NaN onpointX2 = NaN NaN ...

alrededor de 5 años ago | 1 answer | 0

### 1

Question

How to create an array which changes with each iteration of a loop?
How to create an array which changes with each iteration of a for loop? for example; polyX(i)=horzcat(X2(i),X1(i+1),V(i+1));...

alrededor de 5 años ago | 1 answer | 0

### 1

Question

Problem in if-else if-else structure
Hi, I have written the following program. But it does not output the result I get from manual calculations. Perhaps I have gone...

alrededor de 5 años ago | 1 answer | 0

### 1

Question

eliminating NaN values from an array
Hi, does someone know how to eleiminate NaN values from an array? For example I have an array [NaN 0.6451 NaN 0.8339...

alrededor de 5 años ago | 3 answers | 0

### 3

Question

intersection points between random polygon and a circle
Hi, I have a random polygon (with known coordinates of the vertices) and a circle(with know center coordinates and center). I w...

alrededor de 5 años ago | 1 answer | 0

### 1

Question

why do i get the following error when using azimuth?
When I enter the azimuth command as in the following example, I get the following error. azimuth(-65.226,125.5,-65.236,125....

más de 5 años ago | 0 answers | 0