Community Profile # Mariam Shahab

Last seen: Today Active since 2022

#### Statistics

• #### Content Feed

View by

Question

How to change coordinates of the center of a radar plot?
Hi all, Im using the radarplot function. You can find the code for this function in the link below: https://www.mathworks.com/...

2 days ago | 0 answers | 0

### 0

Question

How do I scale every line by the same amount?
Hi all, I have a code that allows the user to pick 5 vertices of a polygon. An example of what the 5 vertices may look like, I ...

3 months ago | 2 answers | 0

### 2

Question

How to make lines at given angles?
Hi all, Im trying to make 5 lines at the following angles: 90, 180, 270, and 360 degrees. This is my code so far: angle=0; l...

3 months ago | 2 answers | 0

### 2

Question

How to make a line of fixed length?
Hi all, I want to make a line that has a fixed length and it has a partciular direction. I would appreciate any suggestions for...

4 months ago | 2 answers | 0

### 2

Question

How to find an array with all common elements?
Hi all, Suppose I have the following two arrays: a= [1 1 1 0 1]; b= [1 0 1 1 0]; I want to find an array that contains each ...

4 months ago | 1 answer | 0

### 1

Question

How do I identify points within a user defined shape?
Hi all, I have the folliwing code: % genertae random data %initial parameters npoints= 300; xrange = [0 100]; yrange = [0 ...

5 months ago | 1 answer | 0

### 1

Question

Why am I not getting the m array?
Hi all, I have the following function: function [m,yinter] = radial_lines(X,Y,xi,yi) if X==Y m=inf; yinter= X; ...

6 months ago | 2 answers | 0

### 2

Question

How to show selected points and connect first point to last point?
Hi all, I have the following code: [x,y]=ginput(); % user can chose any number of coordinates by clicking on graph plot(x,y);...

6 months ago | 1 answer | 0

### 1

Question

Identification of overlapping points
Hi all, I have the following code. hold on for r=10:5:24 % r is radius circles(r,17,12); % using circles function f...

7 months ago | 1 answer | 0

### 1

Question

What is the syntax for iterating over given coordinates, using a For loop?
I have the following code: X1= [10 12 14 23 24 23 18 16 12 10]; Y1= [20 20 18 15 8 7 8 6 12 20]; for i= X1 and j=Y1 %c...

8 months ago | 1 answer | 0

### 1

Question

How do I tell matlab to identify vertices within ROI?
I want matlab to identify all vertices of the hexagons that will be within an ROI. That ROI can be of any shape (it can be an ir...

8 months ago | 0 answers | 0

### 0

Question

I want MATLAB to identify the overlapping area.
I have a hexagonal grid. The following is its code: l=10; k=12; C=rand(l,k); xhex=[0 1 2 2 1 0]; yhex=[2 ...

9 months ago | 2 answers | 0