I want to plot a vector function in 3d, with one variable.
x = 2*sin(t)
y = 4*cos(t)
z = t
is my vector function. How can i make it on an easy way?

 採用された回答

Walter Roberson
Walter Roberson 2015 年 11 月 12 日
編集済み: Walter Roberson 2015 年 11 月 12 日

2 投票

t = linspace(-10*pi, 10*pi); %define the range you are plotting over
x = 2*sin(t);
y = 4*cos(t);
z = t;
plot3(x, y, z);
axis equal

1 件のコメント

deniz can elçi
deniz can elçi 2015 年 11 月 12 日
thank you very much.

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeLine Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by