Im trying to plot a parametric equation given by X= 3t/(1+t3) and Y= 3t2/(1+t3), on two intervals in the same window, the intervals are -30≤ t≤ -1.6 and -0.6≤ t≤ 40 I need to use the plot function to plot this My code for the first interval of t is
t= linspace (-30,-1.6); X= ((3*t)/(1+t.^3); Y= ((3*t.^2)/(1+t.^3)); plot(x,y)
When i try to plot this interval, it just draws up a blank graph, with no function plotted. What am i doing wrong, and also, how would i go about plotting the same function on the second interval, and have both plots visible in the same window of the plot? Any help is greatly appreciated, i apologize for any stupid errors, this is my first time using matlab
Best Answer