plotting a vector field

13 ビュー (過去 30 日間)
Dylan Russell
Dylan Russell 2021 年 8 月 25 日
回答済み: Kshitij Chhabra 2021 年 8 月 31 日
Hello newbie here to matlab workings. currently taking a course in Transport phenomena and additionally a course in matlab just to see if I can help with visual representation. I am trying to work out how to map a vector field
given v(x,y,z) Evaluate ∇*v, ∇v and ∇*vv.
where
a) vx=by , vy=0, vz=0
I can do this by hand, just having problem with putting it into code. I am aware of the function quiver() but not sure how to use it properly.
Can someone help evaluate any of the above.
Thank you in advance

回答 (1 件)

Kshitij Chhabra
Kshitij Chhabra 2021 年 8 月 31 日
From my understanding, you are trying to plot a vector field but not able to grasp the crux of your question. You can refer to the documentation for computing divergence, curl and gradiant through the embedded links.
Further you can check the documentation for "quiver" here and also check relevant examples for the same there.

カテゴリ

Help Center および File ExchangeVector Fields についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by