How do I graph a vector with one variable

2 ビュー (過去 30 日間)
Youssef Mohamed Ahmed Mahmoud Abo El Ezz
コメント済み: Jan 2022 年 3 月 28 日
How do I graph a vector(y) with one variable x and also specify a certain domain for x ex:
  4 件のコメント
Youssef Mohamed Ahmed Mahmoud Abo El Ezz
@Jan i is the unit vector in the direction of the x-axis and j is the unit vector in the direction of the y-axis
Jan
Jan 2022 年 3 月 28 日
@Youssef Mohamed Ahmed Mahmoud Abo El Ezz: You have removed the contents of the question after an answer has been given. This is considered to be impolite in this forum, because it does not respect the time and effort of the persons who help you.

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

回答 (1 件)

Torsten
Torsten 2022 年 3 月 26 日
編集済み: Torsten 2022 年 3 月 26 日
t = 0:0.1:10;
y = t.^3/3 - t + 4;
z = 9/2*t.^2 + 9;
figure(1)
plot3(y,z,t)
%or
figure(2)
quiver(t,zeros(1,numel(t)),y,z,0)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by