The words you are searching are inside this book. To get more targeted content, please make full-text search by clicking here.
Discover the best professional documents and content resources in AnyFlip Document Base.
Search
Published by Sara Khan, 2023-10-22 06:51:31

CIT215

CIT215

201 See this below: Now, below is an example of MATLAB programming that produces a 3-dimensional graph. You can see below the graph the MATLAB expressions that produce the graph. These expressions can also be saved as an M-File script and run from the Editor environment. MATLAB has a number of DEMOS that will greatly help you to study various aspects of MATLAB programming capabilities. You can access them from the HELP menu of the command window. Below is a window to show you some of the demos available:


202 Now, before you round up this unit, see below the list of some commands used by MATLAB. The list is obtained by accessing some of the M-Files in the toolboxes.


203


204


205


206


207 You will now round up this unit. 4.0 Self-Assessment Exercise(s) What command do you use to clear your command window? Answer


208 The command is "dc". Now, see the list: 5.0 Conclusion This unit has shown you some few tools for advanced programming available in MATLAB. You have seen it demonstrated how MATLAB can instantly give you the results of mathematical computations that would normally take some efforts to carry out if you were to employ the conventional programming methods of using other languages. This unit also is the concluding unit for the whole course. Definitely, you have learnt so much in this unit and the whole course to get you started with programming generally. 6.0 Summary MATLAB is one of the powerful interactive programming languages that this unit has briefly explored with you. MATLAB stands for MATrix LABoratory, meaning that it is an application specifically suited for problems you can formulate in vectorial and matrix forms. Some few examples were treated to give you a taste of its immense capabilities. It is advisable that you access the Demos available in the Help files of the application so as to learn more about the powerful language. Moreover, this unit concludes your study in this course, and with the general overview of programming languages you have already, you are now equipped to get started with programming. Good luck. 7.0 Tutor-Marked Assignments 1. Identify, among others, five areas of applications MATLAB can be used. 2. Give two functions each available in MATLAB for solving problems related to the following: • Polynomials • Matrices. 3. What is a toolbox? Name 3 toolboxes available in MATLAB 8.0 Further Readings The MathWorks, Inc., MATLAB Version 5.2.0. 3084, 1998. hap //www.mathworks. corn


Click to View FlipBook Version