This preview shows page 1. Sign up to view the full content.
Unformatted text preview: n = 1:10; x = power(2,n)+power(3,n); semilogy(n,x,'*-') then use xlabel, ylabel and title. You might wish to put all 6 solutions on one plot. You could then use legend to distinguish them. For Exercise 7 confirm your hand calculations in MATLAB via commands like [V,D]=eig(A). Submit a MATLAB diary....
View Full Document
- Spring '11