<< /S /GoTo /D (subsection.1.1) >> v%C�&����r��0���8$�̛�d����\$y�2I�ju�w0��t��̡}d2�YU�ȥ�b�27�YgE.t�{9;{�F��̅���-�J��2���Sx�:Q�Q^�u˰�^R��o�6�a�,�.��w��Ʀk. A Brief Introduction to MATLAB September 1, 2005, 12:01 Professor: Jeffrey A. Fessler (originally by Robert Nickel) MATLAB is a technical computing environment for high-performancenumeric computation and visualization. * Array right division ./ Array power .^! It is an interactive software package for solving problems arising in scientific and engineering computations. endobj stream endobj >> endobj (1.7 Using .M files as scripts and functions) << /S /GoTo /D (subsection.1.3) >> endobj (1.8 Manipulating Audio Files) endobj 36 0 obj << /S /GoTo /D (subsection.1.5) >> These reasons include providing output to the user and troubleshooting a script or function. 13 0 obj Note that because of this case sensitivity the variables 'A' and 'a', for example, are different. Begin by typing 1+3 [Enter], you should see EDU>> 1+3 ans = 4 Your display may not include the EDU before the prompt. 29 0 obj x��[[��ƕ�����y����u�(H _��Adx��f?P=5#v�E�-M�F����)����r0`�l�Uu.��΅��X��X��ovO^?��{u������?��6��/.�G�_� 12 0 obj (1 Introduction To MATLAB) y��`%��L��i��iʑ��'���P�=]�my�\/�MP�9�L�~(Q�BJ���Ijʋ�*�r՞���ѕ�畿_�'*�ɽ�U�0�����y�i�. ���r(`��.�-T��=��6�H�3C ���y&�����[��t�Z%0%ȯ�$���
�n�-�ί���.��� Ӵ�nW�L��k���� ��n�6ٶ�I2�R_��JR&�F�_@�f3 �0��~y��Y��u���g���S������Z�kq�e!Q�mez�,K��dz�u!���$ݣ���%��"�q�,J� e�GG��O/݈�t��lD�����i&=�NI�Od�08���/�xr��]%Y:�L��Tru�W�?�����E�����F�Am�I)iJo�p�惼L��qZ������O$�Y�gp�6NF�X"ᾳjY~ ���9@��㤔��� ��XeP!�K?�k�T��$0������bA���1�@��p�Y���J��4/�9��E�E%�)c�MJ=�I��P6'���W��-���0;V�hg�`h�>����Rm�3bP����}�B��'_���tu&T��I�)���8�@���@�0�o���������f� 6O���dmğ�$�9t���*x!p�����+�,���&J=�O�����Q�!K���k�g{a��gh-�)d���7@�`�@���$��f�||ʞ�R'&�7KbBW��XK��}����]-�+���� ι��z=�4(�e���j �Y5�i&2�L�غ�3��l۶O�.� Wyz�LL3BA�T�.t"W^RC� J���S��&Z����M�\&��r��d��Pт����̍�k�jH�U*�ٲ���Ɉ�1!�2e����$S��&�\��#5xHN'��N����Q[�]^�U�>����h�Q��4���TX�����]uSu�F��f����.�S�@M{L�qh���P=qؔЄv�⧋�~tN^w�iޤ"�e���
Y�c Y.�N��Cԧ���QD�9{^]���c���S��)��0V��e�>��XF Fݽ���M�� a�N��j���|G��HH-`i�$���x'���������B:#��x�E^n�'��?�IL�7�\0L���IS#iL5N���u���a@�5�1�C (1.5 Saving and Loading Data) This brief introduction is not comprehensive but it gives information for those not familiar with Matlab to be able to do the relevant exercises in this course.
16 0 obj endobj %PDF-1.4 (1.4 Getting Help on Functions) <> ���n�m��ru����S�U"��6 6 0 obj
32 0 obj %���� ���g�z_��%4-w��v�C"�\�#{�&��G�Њ���R�¹��CL %%EOF 33 0 obj 21 0 obj 5 0 obj << /S /GoTo /D (subsection.1.9) >> << /S /GoTo /D (subsection.1.2) >> << /S /GoTo /D (section.1) >> 17 0 obj
endobj endobj endstream endobj startxref q_�+¯�!
B�L#&������,4IZ��2�zsl���g�(QHoy�.$���B�N���#����ۯ���;M��H��I#� �,@��� *89�l� � ,Q.�ɢbV��p=�5�-���)Q��fR�i���SQ7膠���Su��%iu %PDF-1.3 << /S /GoTo /D (subsection.1.8) >> %�쏢 ��_���?�2�Q:�Kt��,?qH8�w bڞl�r,�rZ��U�9ڇ|˅��0�KۇD��CG�g�חóc���"��^��=^��9����Z�ݸ���1��w���l��W��^5��a��y�v�|�j�GT�a�e�! h�bbd```b``.��m`RDr� �L� ��D���4�H�>0�Lj�H�4)��$�5���_ h��8��AD�g`�� � �� N endobj 24 0 obj endobj Here, we use capital letters like 'A', 'B' for matrices and lower case letters for scalars or vectors. The release notes, which include several new features of the Release 14 with Service Pack 2, well known as R14SP2, can also be found in Appendix. 41 0 obj endobj 53 0 obj <> endobj MATLAB contains programs for all fundamental matrix computations such as solutions of linear systems, various matrix �t�[|�R����U7����Ί������.m�j�>E A6R��"�z�wfo�A�̬�*P�%Or��KFۙ���M!4S�>��r^�tKݣ��H�*� I��EC����Mٌ��c"�s��ǡ�i��MzQ�'c�Ʌ~��v����ޔ4{�v�)ʑB����š���]�ߌau�-iz�U]�w˃��vV&�Բ0����_��9�䴹�X6�?�gF��P4���cТ+�p,)���UTam:�ˮ�Q���~.��L%�8�#���m_��oK[8A�ܕCW�E/`�襔ǧ�.4'D����P�i�C�n�C����X�V�=��M (1.3 Using Built-in MATLAB Functions) 95 0 obj <>stream )��Be�A����h O��E&H�����`�ϸ�P�̱� k@e����� �N�bLv`��PΠ�8����.���X|�i.�� ��;.cY��H2�x��czW�����e� 0 /|X� << /S /GoTo /D (subsection.1.6) >>
MATLAB stands for MATrix LABoratory.
<< /S /GoTo /D [46 0 R /Fit ] >> 40 0 obj ! %PDF-1.6 %���� 28 0 obj @��e�R[ �!��yLj���� �A(~���B�%��5� ��[����!Ɠ ���,KHwBD�C�1�(D�a0�ǐ��q�7 ��j��r�n50�Px���h�m��$x. endobj
8 A BRIEF INTRODUCTION TO MATLAB 13 vpa(x,2) 2.5 Formatted Output Printing information to the screen can be useful for a number of reasons. 8 0 obj 9 0 obj A Very Brief Introduction to Matlab by John MacLaren Walsh, Ph.D. for ECES 631 Fall 2006 October 13, 2006 1 Introduction To MATLAB You can type normal mathematical operations into MATLAB as you would in an electronic calculator. 69 0 obj <>/Filter/FlateDecode/ID[<32B3CE13421EF142AE53068EBD999B0C><3BFCE41DF4355E468365A952A3874D72>]/Index[53 43]/Info 52 0 R/Length 89/Prev 290628/Root 54 0 R/Size 96/Type/XRef/W[1 3 1]>>stream \Introduction to MATLAB for Engineering Students" is a document for an introductory ... brief summary of the commands and built-in functions as well as a collection of release notes. endobj
A Brief Introduction to Matlab Matlab as a Calculator: MATLAB was designed to handle matrices, but one can do simple arithmetical operations: >>5*3+6^2 >>sin(pi/2) Arithmetic Operation Matlab command + (addition) + - (subtraction) - × (multiplication) * / (division) / Power ^ Array multiplication . h��Z�r�8����TM�J�,;'��2�e�@I�� E)$�8����$����}YW� qm4�O��:�a!g�{,t�=�F. << /S /GoTo /D (subsection.1.4) >> A Brief Introduction to Matlab Matlab as a Calculator: MATLAB was designed to handle matrices, but one can do simple arithmetical operations: >>5*3+6^2 >>sin(pi/2) Arithmetic Operation Matlab command + (addition) + - (subtraction) - × (multiplication) * / (division) / Power ^ … ^LR3`]�C{�7q����Ѣ���� 45 0 obj << /S /GoTo /D (subsection.1.7) >> (1.1 Vectors and Matrices in MATLAB) /Length 1580 ��8��y��g����31i�.wO�~���?�pYx�]]݄�R�m���o�C�^7C��ï���_�v|�.���=�`/��BY;nEJ��Ը�-`C��%^�k�����9Wx�d��.f�|�0*�v��(�:�� x-��R�ew�T*����K�NWcj�(��q���3��ex�/w�����~7U߷ݳp�WH�K�+�-5�{�U�EP��;o㙕�R�3�m���&�� Vj�n+���z�v��z_6��*� A Brief Introduction to MATLAB January 6, 2004, 14:49 Professor: Jeffrey A. Fessler (originally by Robert Nickel) MATLAB is a technical computing environment for high-performance numeric computation and visualization. stream 20 0 obj h�b```�jֿB �� endobj A Brief Introduction to MATLAB B.1 Some Basic Information on MATLAB What Is MATLAB? )�BI���&g���������N+� (1.9 Where to Learn More) }��X {ƅ��!���1��i��\�qXę������z^�ϴ[1�ߏ��� /�X2��G,p|�cx�;,����k��$qbe��g،\���`4x�2�Ë\��ׂ=��%���,�ؼ�G��`�n}����y��j�Q'|LF���@SR��J�����.Y�g�2�ɢ�������F���n�d!�L��3��ꈫ�����W���N\�y��*8�`�$+q������@?^�eί�ח�\u��}urU%����5���w����tΡ�3M���i�r�We��0ٜ�t���\.��JV�`k��̡����XC���,)����X��yz����. endstream endobj 54 0 obj <>/OCGs[71 0 R]>>/Pages 51 0 R/Type/Catalog>> endobj 55 0 obj <>/Font<>/ProcSet[/PDF/Text]/XObject<>>>/Rotate 0/Thumb 26 0 R/Type/Page>> endobj 56 0 obj <>stream There are many Matlab resources. 48 0 obj << 0 endobj endobj 25 0 obj endobj ���\��,��� hMZEG���J.��� L��@RI)H1 endobj When we deal with a mix of text and numerical output the
��5O+��u �f����qYg�*�=����*��*qA��Hِ��O�b)L��X���.a2K�f���@t��b{�P@��>��B��6sZ{Ĉ .�!�� wN{�l�����9m֙C o�koi!wh��;�n�Ɠ�)W���j�_�}N��1���H�iYMKx�(CnQm�ԟ^�`8`� DB ��R2_6�HU��r�}:0Ye� :�m�f8Oq$���~���eu]$|�.m��c2I&yz�=�EM8���g��DfQ�űC��iHAg��a���8I"��?�4-o��8�t�8R�7�� ��(��M�\ ˸8��h=�>vj=1�s�Ts*�8���I��f f��2����x�r�^;jr��۔j���}����;�ި{��۷���9���?|��9ړ�9��&s$~^n���M9�,!�&)_��(7Ⱥ�/Ѣa_�*1�/��R�k�Q�ԨXjt��J=\�TF2̤���#��b�@���@Ԃ8����Mx �*�������b.���C�D�U�z��s�� �I�_&�Ԃl�/c��t^,h��K��!��d��,U�XjH�U*d�6���H��B`�\*�em(� �2ۅ�D�u��v� endobj �Z��6��C~=ܫl2���y*��AX#� �m�}{��yT�T��z�]�\l8�D��m��QXBy���"40�=I���Q�����^��x�N��@J��mS�6����_4�nܦG7���S�ms���ו��.��X����BF���Ё�����D�;������8=b��Ɵ�[� ���(�rp�l��}o�z��@��3�́����'8A�b�Onjv&�S��8n�g���q��@��O2��BD'���d�����s����D���]�� r�m>����`�`Q=Z�4>�"�g���'Z�s�%' � ��h��q����š�T�tKph.݆(�4�$B�����d���l�t�7u� YCjGw妰�>&��.=;� ��Ypp��=9�9�C�=}���YXӡ`�o2�yh �06��*������N�N�=I��j ����ТKh ��hH x�-E��'!\��6= � ���aN1Go|�zֆ�fه�0xܻ�R��^.�����z�i��Q�4˞�6$�h�)r�i%`�e�QE��^눇�y�$��8lpr^2�jhL����/C�t6�� (1.2 Controlling Program Flow in MATLAB: \(if, for, etc\)) A brief introduction to MATLAB ... MATLAB is case sensitive and will generally not recognize commands typed in capital letters! ��SM9[ R�� d��/}G�&w�V�!�z�)5�� KRi6�4�������b�B|�s��K�� �K셅�IN�W;��&� X�Wy��t��� 44 0 obj endobj 37 0 obj
endobj /Filter /FlateDecode
xڭWio�6��_�o�R�]�n�"A�ͶE� ��� (1.6 Plotting and Labelling 2D and 3D Data)
16 0 obj endobj %PDF-1.4 (1.4 Getting Help on Functions) <> ���n�m��ru����S�U"��6 6 0 obj
32 0 obj %���� ���g�z_��%4-w��v�C"�\�#{�&��G�Њ���R�¹��CL %%EOF 33 0 obj 21 0 obj 5 0 obj << /S /GoTo /D (subsection.1.9) >> << /S /GoTo /D (subsection.1.2) >> << /S /GoTo /D (section.1) >> 17 0 obj
endobj endobj endstream endobj startxref q_�+¯�!
B�L#&������,4IZ��2�zsl���g�(QHoy�.$���B�N���#����ۯ���;M��H��I#� �,@��� *89�l� � ,Q.�ɢbV��p=�5�-���)Q��fR�i���SQ7膠���Su��%iu %PDF-1.3 << /S /GoTo /D (subsection.1.8) >> %�쏢 ��_���?�2�Q:�Kt��,?qH8�w bڞl�r,�rZ��U�9ڇ|˅��0�KۇD��CG�g�חóc���"��^��=^��9����Z�ݸ���1��w���l��W��^5��a��y�v�|�j�GT�a�e�! h�bbd```b``.��m`RDr� �L� ��D���4�H�>0�Lj�H�4)��$�5���_ h��8��AD�g`�� � �� N endobj 24 0 obj endobj Here, we use capital letters like 'A', 'B' for matrices and lower case letters for scalars or vectors. The release notes, which include several new features of the Release 14 with Service Pack 2, well known as R14SP2, can also be found in Appendix. 41 0 obj endobj 53 0 obj <> endobj MATLAB contains programs for all fundamental matrix computations such as solutions of linear systems, various matrix �t�[|�R����U7����Ί������.m�j�>E A6R��"�z�wfo�A�̬�*P�%Or��KFۙ���M!4S�>��r^�tKݣ��H�*� I��EC����Mٌ��c"�s��ǡ�i��MzQ�'c�Ʌ~��v����ޔ4{�v�)ʑB����š���]�ߌau�-iz�U]�w˃��vV&�Բ0����_��9�䴹�X6�?�gF��P4���cТ+�p,)���UTam:�ˮ�Q���~.��L%�8�#���m_��oK[8A�ܕCW�E/`�襔ǧ�.4'D����P�i�C�n�C����X�V�=��M (1.3 Using Built-in MATLAB Functions) 95 0 obj <>stream )��Be�A����h O��E&H�����`�ϸ�P�̱� k@e����� �N�bLv`��PΠ�8����.���X|�i.�� ��;.cY��H2�x��czW�����e� 0 /|X� << /S /GoTo /D (subsection.1.6) >>
MATLAB stands for MATrix LABoratory.
<< /S /GoTo /D [46 0 R /Fit ] >> 40 0 obj ! %PDF-1.6 %���� 28 0 obj @��e�R[ �!��yLj���� �A(~���B�%��5� ��[����!Ɠ ���,KHwBD�C�1�(D�a0�ǐ��q�7 ��j��r�n50�Px���h�m��$x. endobj
8 A BRIEF INTRODUCTION TO MATLAB 13 vpa(x,2) 2.5 Formatted Output Printing information to the screen can be useful for a number of reasons. 8 0 obj 9 0 obj A Very Brief Introduction to Matlab by John MacLaren Walsh, Ph.D. for ECES 631 Fall 2006 October 13, 2006 1 Introduction To MATLAB You can type normal mathematical operations into MATLAB as you would in an electronic calculator. 69 0 obj <>/Filter/FlateDecode/ID[<32B3CE13421EF142AE53068EBD999B0C><3BFCE41DF4355E468365A952A3874D72>]/Index[53 43]/Info 52 0 R/Length 89/Prev 290628/Root 54 0 R/Size 96/Type/XRef/W[1 3 1]>>stream \Introduction to MATLAB for Engineering Students" is a document for an introductory ... brief summary of the commands and built-in functions as well as a collection of release notes. endobj
A Brief Introduction to Matlab Matlab as a Calculator: MATLAB was designed to handle matrices, but one can do simple arithmetical operations: >>5*3+6^2 >>sin(pi/2) Arithmetic Operation Matlab command + (addition) + - (subtraction) - × (multiplication) * / (division) / Power ^ Array multiplication . h��Z�r�8����TM�J�,;'��2�e�@I�� E)$�8����$����}YW� qm4�O��:�a!g�{,t�=�F. << /S /GoTo /D (subsection.1.4) >> A Brief Introduction to Matlab Matlab as a Calculator: MATLAB was designed to handle matrices, but one can do simple arithmetical operations: >>5*3+6^2 >>sin(pi/2) Arithmetic Operation Matlab command + (addition) + - (subtraction) - × (multiplication) * / (division) / Power ^ … ^LR3`]�C{�7q����Ѣ���� 45 0 obj << /S /GoTo /D (subsection.1.7) >> (1.1 Vectors and Matrices in MATLAB) /Length 1580 ��8��y��g����31i�.wO�~���?�pYx�]]݄�R�m���o�C�^7C��ï���_�v|�.���=�`/��BY;nEJ��Ը�-`C��%^�k�����9Wx�d��.f�|�0*�v��(�:�� x-��R�ew�T*����K�NWcj�(��q���3��ex�/w�����~7U߷ݳp�WH�K�+�-5�{�U�EP��;o㙕�R�3�m���&�� Vj�n+���z�v��z_6��*� A Brief Introduction to MATLAB January 6, 2004, 14:49 Professor: Jeffrey A. Fessler (originally by Robert Nickel) MATLAB is a technical computing environment for high-performance numeric computation and visualization. stream 20 0 obj h�b```�jֿB �� endobj A Brief Introduction to MATLAB B.1 Some Basic Information on MATLAB What Is MATLAB? )�BI���&g���������N+� (1.9 Where to Learn More) }��X {ƅ��!���1��i��\�qXę������z^�ϴ[1�ߏ��� /�X2��G,p|�cx�;,����k��$qbe��g،\���`4x�2�Ë\��ׂ=��%���,�ؼ�G��`�n}����y��j�Q'|LF���@SR��J�����.Y�g�2�ɢ�������F���n�d!�L��3��ꈫ�����W���N\�y��*8�`�$+q������@?^�eί�ח�\u��}urU%����5���w����tΡ�3M���i�r�We��0ٜ�t���\.��JV�`k��̡����XC���,)����X��yz����. endstream endobj 54 0 obj <>/OCGs[71 0 R]>>/Pages 51 0 R/Type/Catalog>> endobj 55 0 obj <>/Font<>/ProcSet[/PDF/Text]/XObject<>>>/Rotate 0/Thumb 26 0 R/Type/Page>> endobj 56 0 obj <>stream There are many Matlab resources. 48 0 obj << 0 endobj endobj 25 0 obj endobj ���\��,��� hMZEG���J.��� L��@RI)H1 endobj When we deal with a mix of text and numerical output the
��5O+��u �f����qYg�*�=����*��*qA��Hِ��O�b)L��X���.a2K�f���@t��b{�P@��>��B��6sZ{Ĉ .�!�� wN{�l�����9m֙C o�koi!wh��;�n�Ɠ�)W���j�_�}N��1���H�iYMKx�(CnQm�ԟ^�`8`� DB ��R2_6�HU��r�}:0Ye� :�m�f8Oq$���~���eu]$|�.m��c2I&yz�=�EM8���g��DfQ�űC��iHAg��a���8I"��?�4-o��8�t�8R�7�� ��(��M�\ ˸8��h=�>vj=1�s�Ts*�8���I��f f��2����x�r�^;jr��۔j���}����;�ި{��۷���9���?|��9ړ�9��&s$~^n���M9�,!�&)_��(7Ⱥ�/Ѣa_�*1�/��R�k�Q�ԨXjt��J=\�TF2̤���#��b�@���@Ԃ8����Mx �*�������b.���C�D�U�z��s�� �I�_&�Ԃl�/c��t^,h��K��!��d��,U�XjH�U*d�6���H��B`�\*�em(� �2ۅ�D�u��v� endobj �Z��6��C~=ܫl2���y*��AX#� �m�}{��yT�T��z�]�\l8�D��m��QXBy���"40�=I���Q�����^��x�N��@J��mS�6����_4�nܦG7���S�ms���ו��.��X����BF���Ё�����D�;������8=b��Ɵ�[� ���(�rp�l��}o�z��@��3�́����'8A�b�Onjv&�S��8n�g���q��@��O2��BD'���d�����s����D���]�� r�m>����`�`Q=Z�4>�"�g���'Z�s�%' � ��h��q����š�T�tKph.݆(�4�$B�����d���l�t�7u� YCjGw妰�>&��.=;� ��Ypp��=9�9�C�=}���YXӡ`�o2�yh �06��*������N�N�=I��j ����ТKh ��hH x�-E��'!\��6= � ���aN1Go|�zֆ�fه�0xܻ�R��^.�����z�i��Q�4˞�6$�h�)r�i%`�e�QE��^눇�y�$��8lpr^2�jhL����/C�t6�� (1.2 Controlling Program Flow in MATLAB: \(if, for, etc\)) A brief introduction to MATLAB ... MATLAB is case sensitive and will generally not recognize commands typed in capital letters! ��SM9[ R�� d��/}G�&w�V�!�z�)5�� KRi6�4�������b�B|�s��K�� �K셅�IN�W;��&� X�Wy��t��� 44 0 obj endobj 37 0 obj
endobj /Filter /FlateDecode
xڭWio�6��_�o�R�]�n�"A�ͶE� ��� (1.6 Plotting and Labelling 2D and 3D Data)