Community Profile

photo

Devika Waghela


Last seen: 8 maanden 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...

meer dan een 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...

meer dan een 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

meer dan een 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

meer dan een 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?

meer dan een 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...

meer dan een 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...

meer dan een jaar ago | 2 answers | 0

2

answers