Community Profile

Contact

Top 10% contributor

if a = [9 0 0; 7 0 0; 8 2 0; 8 8 8] K>> t=a(all(a(:,2:end),2),:) t = 8 8 8 however it should be K>> t=a(a...

0

Answered 5 months ago

Dear all, I have a matrix like A =[23 45 23 56;26 0 0 0;45 23 65 34;34 0 0 0] I want a very efficient way to delete only the r...

4 Answers

Asked 5 months ago

Yes, you are right 'poly2ccw' is not working in 3D, so is any other way to distinguish the clockwise or counter-clockwise order ...

1440 views

Responded 10 months ago

Thank you all for your advice, I found the poly2ccw function useful to determine clockwise or counter clockwise direction.

Responded 1 year ago

Hello, I have three point in 3D for example= point1=[-1;0;0] middlePoint=[0;0;0] point2=[0;0;-1] I need a way to give me +90 de...

Posted 1 year ago

Hello, My matlab code is creating very very matrix and I didn't pre-allocate it before. Because I always need to know the size ...

2 Answers

Asked 4 months ago

Dear all, I'm looking for an efficient way to delete zeros after final number in MATLAB, A= [ 5 6 0 3 2 0 9 0 0 0 0 0 0] ...

Hello all, I have a simple question. Assume that I have the following matrix. How can I find the inv of this matrix based on "t...

1 Answers

Asked 3 months ago

Hello all, I have to rewrite my Matlab code to make it faster. in some cases I need to used cell structure to keep my data: for...

I have two pairs of point and vector in 2d and I should find its intersection. for example: p0=[0,0] vector_p0=[0,1] and p1...

Asked 1 year ago

Hello, I'd like to generate a 3D mesh, for example, in my picture, if I calculate all points in a, h, f and c, how can I plot...

0 Answers

Asked 11 months ago

Hello, I'm looking for an efficient way to calculate the arc length of Cubic Bezier curve, by knowing P0,P1,P2 and P3. Thank ...

393 views

My problem: I have coordinate and tangent of first point and the end point of Bezier curve and I should draw Bezier Curve in MAT...