Community Profile

photo

Devika Waghela


Last seen: bijna 2 jaar ago Active since 2021

Statistics

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 3 jaar ago | 3 answers | 1

3

answers

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 3 jaar ago | 1 answer | 0

1

answer

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

ongeveer 3 jaar ago | 2 answers | 0

2

answers

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

ongeveer 3 jaar ago | 1 answer | 0

1

answer

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?

ongeveer 3 jaar ago | 1 answer | 0

1

answer

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

ongeveer 3 jaar ago | 1 answer | 0

1

answer

Question


Why is unique() giving me the matrix after eliminating the common rows for these two matrices?
I have A = 0.0000 0.0000 0.0000 1.0000 0.0000 0.0000 0.0000 1.0000 1.0000 0.0000 1...

ongeveer 3 jaar ago | 2 answers | 0

2

answers