CAD Assignment 7
CAD Assignment 7
Results:
Discussion on result
We find a different style colour and mark on the graph
Conclusion
MATLAB is easy to use and understand
Sources of errors
The command may be wrong.
Suggestion
Type the command carefully.
MATLAB is case-sensitive always use lowercase while giving
the command.
Brief description
1. Command Window
The Command Window enables us to enter individual statements at the command
line, indicated by the prompt (>>). As you enter statements, the Command Window
displays the results. For example plot(x,y) to plot the 2D graph.
2. Command History
The Command History window displays a log of statements that you ran in the
current and previous MATLAB sessions. The Command History lists the time and
date of each session in the short date format for your operating system, followed by
the statements from that session.
3. Current Directory
The current folder is a reference location that MATLAB uses to find files. This
folder is sometimes referred to as the current directory, current working folder, or
present working directory.
4. Workspace Window
The workspace contains variables that you create or import into MATLAB from
data files or other programs. You can view and edit the contents of the workspace
in the Workspace browser or in the Command Window. For more information, see
Create and Edit Variables.
5. Figure Window
Figure objects are the individual windows on the screen in which MATLAB
displays the graphical output. figure creates a new figure object using the default
property value. Creates a new figure object using the values of the properties
specified.
6. Edit Window
The MATLAB Editor Window is a simple text editor where you can load, edit and
save complete MATLAB programs. The Editor window also has a menu command
(Debug/Run) which allows you to submit the program to the command window.