Community Profile

# Mariam Shahab

Last seen: ein Tag vor Aktiv seit 2022

#### Statistics

Abzeichen anzeigen

#### Content Feed

Anzeigen nach

Frage

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

3 Tage vor | 2 Antworten | 0

### 2

Antworten

Frage

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

7 Tage vor | 1 Antwort | 0

### 1

Antwort

Frage

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

etwa 2 Monate vor | 1 Antwort | 0

### 1

Antwort

Frage

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

2 Monate vor | 2 Antworten | 0

### 2

Antworten

Frage

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

2 Monate vor | 1 Antwort | 0

### 1

Antwort

Frage

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

4 Monate vor | 1 Antwort | 0

### 1

Antwort

Frage

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

4 Monate vor | 1 Antwort | 0

### 1

Antwort

Frage

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

5 Monate vor | 0 Antworten | 0

### 0

Antworten

Frage

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

5 Monate vor | 2 Antworten | 0

### 2

Antworten

Frage

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

5 Monate vor | 1 Antwort | 0

Antwort