MATLAB: Plot the curve described by the following equations

MATLABplot

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

Best Answer

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')
Related Question