Plot the curve described by the following equations

5 views (last 30 days)
Good afternoon! I need to plot a curve described by these equations: x = (1-t^2)/(1+t^2) y = 2t/(1+t^2) -1000<=t<= 1000

Accepted Answer

Stephan
Stephan on 23 Sep 2018
Edited: Stephan on 23 Sep 2018
t = linspace(-1000,1000,500);
x = (1-t.^2)./(1+t.^2);
y = 2.*t./(1+t.^2);
subplot(2,1,1)
plot(t,x,'-r')
subplot(2,1,2)
plot(t,y,'-r')

More Answers (1)

Mark Chernyshov
Mark Chernyshov on 23 Sep 2018
Thanks a lot!

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Tags

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!