Try Sean's answer on this question - https://www.mathworks.com/matlabcentral/answers/11195-rotating-a-vector
Rotating a vector field
7 次查看(过去 30 天)
显示 更早的评论
Hi all,
I have a question in regard to rotating a given vector field. I would be thankful to kindly give me some clues if you have idea about my query.
Suppose that we have a vector field in y-x plane, let's consider following example:
Vector Field : Vf = [u, v]
u=x
v=y
Now, I need to revolve the given vector field around the center of plot (i.e. around vector of [0 0 1] at position(0,0,0)), and after rotation(revolution), I want to obtain the rotatted vector field in the current cordinate.
Does anyone can provide some nice solution?
Thanks in advance,
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Assembly 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!