basics - %% -------------- Figure A.6disp(' --------------...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
% Appendix A: MATLAB Basics, Section A.2%% The MATLAB input/output described in Section A.2, including % Figures A.1 - A.11 are shown here. After each subtopic, a % pause is inserted to allow you to inspect the output. Hit % the space bar (or any other key) to continue to the next % subtopic.%clearformat % -------------- Figure A.2disp(' -------------- Figure A.2')A=[1 2;4 6] pause%% -------------- Figure A.3disp(' -------------- Figure A.3')A=[1 2;4 6];A=[1 2;4 6] pause %% -------------- Figure A.4disp(' -------------- Figure A.4')12.4/6.9pause % % -------------- Figure A.5disp(' -------------- Figure A.5')M=[1 2]m=[3 5 7]pause
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: %% -------------- Figure A.6disp(' -------------- Figure A.6')z=3+4*iInf0/0pause %% -------------- Figure A.7disp(' -------------- Figure A.7')whopause %% -------------- Figure A.8disp(' -------------- Figure A.8')whospause %% -------------- Figure A.9disp(' -------------- Figure A.9')clear Awhopause %% -------------- Figure A.10disp(' -------------- Figure A.10')piformat long; pi format short e; piformat long e; pipause %disp(' -------------- Figure A.11')% -------------- Figure A.11WHOWho...
View Full Document

This note was uploaded on 12/01/2009 for the course Q q taught by Professor Q during the Spring '09 term at Universidad Autonoma de Nuevo Leon - School of Business.

Ask a homework question - tutors are online