Community Profile

photo

Mariam Shahab


Last seen: 10 månader ago Active since 2022

Statistics

  • Thankful Level 3

View badges

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

ungefär ett år 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 ...

mer än ett år 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...

mer än ett år 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...

mer än ett år 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 ...

mer än ett år 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 ...

mer än ett år 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; ...

mer än ett år 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);...

mer än ett år 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...

mer än ett år 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...

mer än ett år 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...

mer än ett år 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 ...

mer än ett år 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. ...

nästan 2 år ago | 1 answer | 0

1

answer