Community Profile

photo

Mariam Shahab


Last seen: 11 months ago Active since 2022

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

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

1 year ago | 1 answer | 0

1

answer

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

1 year ago | 2 answers | 0

2

answers

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

1 year ago | 2 answers | 0

2

answers

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

1 year ago | 2 answers | 0

2

answers

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

1 year ago | 1 answer | 0

1

answer

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

1 year ago | 1 answer | 0

1

answer

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

1 year ago | 2 answers | 0

2

answers

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

1 year ago | 1 answer | 0

1

answer

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

1 year ago | 1 answer | 0

1

answer

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

1 year ago | 1 answer | 0

1

answer

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

2 years ago | 1 answer | 0

1

answer

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

2 years ago | 2 answers | 0

2

answers

Question


Can MATLAB do radial enlargements of plots?
I have attached an image to illustrate what I mean. I will gladly appreciate any advice on this. Many thanks. ...

2 years ago | 1 answer | 0

1

answer