Community Profile Last seen: 1 day ago Active since 2021

#### Statistics

• #### Content Feed

View by

Question

How to construct a "ones" matrix with zero blocks in the diagonal
Hi all, I am trying to construct the follwoing matrix and any help would be highly appreciated. Thank you.

4 days ago | 2 answers | 0

### 2

Question

How to map subdivisions in a squared geometry
I have a geometry of a square with 4 edges. Each edge has 5 points and 4 cells (subdivisons). The image bellow illustrates it. ...

8 days ago | 2 answers | 0

### 2

Question

Accessing a cell in a 2D grid
Hi all, I have a 2D grid as shown below where each cell represents a pair of and where and . I would like to construct a new...

24 days ago | 1 answer | 0

### 1

Question

How to choose the middle of a random cell in a 2D grid
Hi all, I have a 2D grid that has 25 points equally spaced in both axes dividing the grid into little boxes/cells/pixels. Is th...

1 month ago | 2 answers | 0

### 2

Question

Create an equally spaced vector when taking the sine of another vector
I want to create a vector containing 25 points such that the points are equally spaced when you take the sine of another vector ...

1 month ago | 1 answer | 0

### 1

Question

Angle between two lines
I have the following geometry: All the blues and whites are known. The reds are to be determined (specifically speaking ). A...

2 months ago | 1 answer | 0

### 1

Question

angle between two lines
I have the follwoing geometry: All the blues and whites are knowns. The reds are unknown and need to be determined (specifica...

2 months ago | 1 answer | 0

### 1

Question

How to get the standard line equation from a position and angle
Hi all, I want to compute the standard line equation of the form in a 2D meshgrig within the positive domain given the starti...

2 months ago | 0 answers | 0

### 0

Question

Vertical and horizontal line standard equations
Hi all, I am trying to use the standard equations of the form for both: horizontal and vertical lines and draw them on a mesh ...

2 months ago | 1 answer | 0

### 1

Question

Angle between two vectors is computed weirdly!
Hi all, I am trying to compute the angle between line L1v and the verticle norm Nv via the dot product using the follwoing code...

4 months ago | 1 answer | 0

### 1

Question

nan in if statement
Hi all, How can I say: if (a==0 or a==NaN) %whatever end Thanks.

4 months ago | 2 answers | 0

### 2

Question

advance a vector coordinates in a loop
Hi all, I'd like to advance an intial vector forward in something similar to this: where the blue arrow is the initial one, ...

4 months ago | 1 answer | 0

### 1

Question

How to draw a vector/line in a mesh
Hi all, I have the follwoing mesh: %Defining space variables L = 4; %boundary legth ns = 25; %number of points on S axis n...

4 months ago | 1 answer | 0