how to draw vector function?
52 views (last 30 days)
Show older comments
deniz can elçi
on 12 Nov 2015
Commented: deniz can elçi
on 12 Nov 2015
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?
0 Comments
Accepted Answer
Walter Roberson
on 12 Nov 2015
Edited: Walter Roberson
on 12 Nov 2015
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
More Answers (0)
See Also
Categories
Find more on Annotations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!