MATLAB Answers

grouping vectors based on z value

1 view (last 30 days)
Oday Shahadh
Oday Shahadh on 8 Jun 2020
Commented: Oday Shahadh on 8 Jun 2020

Hi guys,

If I have how array of vectors a(xi,to,zi) and b(xj,y2k,zj), I want to extract a new group based on the condition zi=zj. And the cross product the resulted vectors. Thanks

  11 Comments

Show 8 older comments
Walter Roberson
Walter Roberson on 8 Jun 2020
Have you considered using pol2cart() ?
Oday Shahadh
Oday Shahadh on 8 Jun 2020
did not know it before, just reading about it now
Oday Shahadh
Oday Shahadh on 8 Jun 2020
good option , but also need triple loops

Sign in to comment.

Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!