Plotting a vector function

14 ビュー (過去 30 日間)
Ogut Su Karagun
Ogut Su Karagun 2022 年 12 月 24 日
回答済み: Sulaymon Eshkabilov 2022 年 12 月 24 日
I can't figure out how to draw an vector function in plot.
Here's an example for the vector function:
  1 件のコメント
Torsten
Torsten 2022 年 12 月 24 日
編集済み: Torsten 2022 年 12 月 24 日
I also don't know of a way how to plot
f(x,y) = [y^2;2*x*(y+1)]
if this is what you mean.
You can plot each of the two component functions separately, if this suffices.

サインインしてコメントする。

回答 (1 件)

Sulaymon Eshkabilov
Sulaymon Eshkabilov 2022 年 12 月 24 日
If understood your question correctly, you may use plotting vector field plot functions of MATLAB, e.g.: quiver(), quiver3(), compass(), feather().
See MATLAB doc how to plot vector fields here.

カテゴリ

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