Scientific Programming Using MATLAB, Fall 2011-2012
Scientific Programming Using MATLAB, Fall 2011-2012. TIRGUL #5: Graphics & Debugging. Simple 2D graphics. x = [0:0.1:10]; y = sin(x); >> plot (x, y) x, y need to have the same length If x is undefined, it defaults as the indices of y. Plotting styles.
364 views • 25 slides