[help] how to project 3D objects to plane (not coordinate plane)

2 次查看(过去 30 天)
I have objects as a figure attached.
<<
<<
>>
>>
I want to project objects (blue color and small red color) to plane (yellow color) follow perpendicular.
I can project object to coordinate plane (oxy, oyz, oxz) by command: surf(x,y,0*z), surf(0*x,y,z), surf(x,0*y,z). How to project to any plane?
Thank

采纳的回答

KSSV
KSSV 2016-8-26
You fix an angle theta to which you want to rotate the points....and make Rotation matrix and multiply all the points with that rotation matrix.
Go through the link:
  1 个评论
viet le
viet le 2016-8-27
Thank you, Dr.Sivia it is good information but I need to project objects to the any plane. your infors are rotated the object. I think it can't apply my problems. Anyway, thanks a lot. Hope to here another information from you

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Surface and Mesh Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by