Community Profile

photo

KalMandy


University of Agder

Active since 2016

Statistics

  • First Review
  • Thankful Level 3

View badges

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

7 years ago | 2 answers | 0

2

answers

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

7 years ago | 2 answers | 0

2

answers

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

7 years ago | 1 answer | 0

1

answer

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

7 years ago | 1 answer | 0

1

answer

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

7 years ago | 2 answers | 0

2

answers

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

7 years ago | 2 answers | 0

2

answers

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

7 years ago | 1 answer | 0

1

answer

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

7 years ago | 2 answers | 0

2

answers

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

7 years ago | 2 answers | 0

2

answers

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

7 years ago | 2 answers | 0

2

answers

Question


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

7 years ago | 1 answer | 0

1

answer

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

7 years ago | 1 answer | 0

1

answer

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

7 years ago | 1 answer | 0

1

answer

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

7 years ago | 3 answers | 0

3

answers

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

7 years ago | 1 answer | 0

1

answer

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

7 years ago | 0 answers | 0

0

answers

Question


Finding a Best Distribution fit
Hi all, I want to find a Matlab tool/code to find the best distribution fit to my empirical data. I have tried allfitdist and f...

8 years ago | 0 answers | 0

0

answers