Community Profile

# Devika Waghela

Last seen: 10 maanden ago Active since 2021

#### Content Feed

View by

Question

How to shift all the non-zero elements of a matrix to the right of the matrix?
I have a matrix like 1 2 3 0 0 1 2 0 0 0 1 2 3 0 0 0 1 0 0 1 2 3 1 2 I want to shift all the non-zero elements to the righ...

bijna 2 jaar ago | 3 answers | 1

### 3

Question

How to check for a zero in any row of a particular column in an [50000, 50000]?
So I have an array of [50000, 50000] full of zeros. I gradually add elements to it by replacing the zeros with the elements. I w...

bijna 2 jaar ago | 1 answer | 0

### 1

Question

How to generate a 1D array of zeros in Matlab?
I want to create an 1D array of 100,000 elements in matlab full of zeros

bijna 2 jaar ago | 2 answers | 0

### 2

Question

How do I plot lines parallel to Y axis in X-Y plane?
I need to draw lines parallel to Y axis in the X-Y plane. I want to draw the lines for x = 0.1, 0.2, 0.3 and so on

bijna 2 jaar ago | 1 answer | 0

### 1

Question

How do I fill 3D planes with a pattern?
So I have triangular planes parallel to z axis and i want to fill it with hatch lines or checkard pattern. How can I do it?

bijna 2 jaar ago | 1 answer | 0

### 1

Question

How to find intersection between a line (given by 2 points) and a plane?
So I have a plane z = 0 to 1 (at increments of 0.2). I have two points A = (1,0,0) and B = (0,0,1). I need to find the points of...

bijna 2 jaar ago | 1 answer | 0