MATLAB: Plot a graph loop forplot Hi, I have t=0:0.01:10 x=a*t y=sin(x) and a has two values a=2, a=3 I want to plot (x, y) with two values of a in the same loop. Thanks in advance Best Answer t=0:0.01:10;a = [2 3];x=a'*t;y=sin(x);plot(x',y') Related SolutionsMATLAB: Plotting graph in matlab x=0:0.1:10y = exp(0.5*x).*sin(x)plot(x,y) MATLAB: I want to draw a graph.. See plot():x = 0:0.01:10;y = sin(x)./xplot(x, y); Related QuestionSinc functionPlot the simple sin wave with amplitudeHelp needed plotting a graphHow do i get the graph plottedPlot window is coming up blank. WhyIs plot(x,y=0) not giving a line at y=0Graph won’t display
Best Answer