Book
Getting started with MATLAB
Author
Rudra Pratap
Edition
reset() import scipy as sp import matplotlib.pyplot as mpl_pp x = sp.linspace(0, 2*sp.pi) mpl_pp.plot(x,sin(x)) mpl_pp.plot(x,sin(x),'o') mpl_pp.xlabel('x'), mpl_pp.ylabel('sin(x)') mpl_pp.savefig('doublesin.png')
Solution by:
- T R Shyam Sundar, Student, CMI
- Sonam Kumar, Student, CMI
- Vignesh Ganapathiraman, Student, CMI
- Pooja Kalra, Student, Malwa Institute of Technology