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]

2 views (last 30 days)
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
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.

Categories

Find more on MATLAB in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!