Question: how plot graph in matlab?
Answer: Define x, by specifying the range of values for the variable x, for which the function is to be plotted.
Define the function, y = f(x)
Call the plot command, as plot(x, y)