MATLAB: Plotting graph in matlab exponentfunctionplot Say I want to plot y = e^(0.5*x)*(sin(x)). How do I enter this using the plot function? I am trying to plot 3 graphs on the same page but matlab won't let me plot that one above (it lets me plot the other two). Best Answer x=0:0.1:10y = exp(0.5*x).*sin(x)plot(x,y) Related SolutionsMATLAB: Graph Hi Armin,you can use datacursor mode.In the callbackfunction you can play with the points (x & y ) received from the callback. If you do need an example leave me a note.Gerd MATLAB: Graphing plot(T1, s1, 'r', T2, s2, 'g')This presumes that T1 and T2 are each vectors of times after their calculation. But if so, if they are vectors, then you probably need to change your s equations slightly: %Distance traveled after the Collision %Vehicle 1 s1 = (V1f.*T1) -(.5*U*G*T1.^2); %Vehicle 2 s2 = (V2f.*T2) -(.5*U*G*T2.^2); Related QuestionCan’t plot functionGraphingHaving trouble graphing a non-linear graph
Best Answer