BoAcharai › Lessons › MATLAB

Step-by-step lesson · MATLAB

How to plot a graph in MATLAB

4 steps

  1. Type x = 0:0.1:10;
  2. Type y = sin(x);
  3. Type plot(x, y) and press Return
  4. A figure window opens with the graph

More in MATLAB

All MATLAB lessons