Plot a circle with the radius r = 2, % knowing that the parametric equation % of a circle is % [x(t); y(t)] = % [r cos(t); % r sin(t)] for t = [0; 2pi]
9 views (last 30 days)
Show older comments
Plot a circle with the radius r = 2, knowing that the parametric equation of a circle is [x(t); y(t)] = [r cos(t); r sin(t)] for t = [0; 2pi].
this is my homework, i don't know nothing about matlab, can u help me please?
Answers (1)
KSSV
on 1 Sep 2021
If I want to plot sine, I will follow as below:
t = linspace(0,2*pi,100) ;
x = sin(t) ;
plot(t,x) ;
Use the above as example and do your Home Work.
See Also
Categories
Find more on 2-D and 3-D Plots 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!