MATLAB
MATLAB
Prepared by
Ammar Talq Alsulami
ID: 444007130
Date: 17/02/1445
Objectives:
1. Become familiar with the use of MATLAB.
2. Become familiar with the Command Window and
MATLAB Desktop.
3. Become familiar with numbers and arithmetic
operations, saving and reloading a work, using
help, MATLAB demos, interrupting a running program
and long command lines.
Pre-Lab:
Tick (√) for True and (×) for False
1. MATLAB is a high-performance language for technical
computing.
2. The name MATLAB stands for max laboratory.
Procedure:
1. The Command Window
Figure.1: Using the command window for some functions (addition and sine)
Figure.2: Using the command window to show previous results.
Figure.3: Using the command window to show long format of sine function
results.
Figure.4: Using the command window to show short format of sine function
results.
2- Discuss the resolution of voltage measurements made with the oscilloscope, i.e., how
many significant digits can you obtain from the scope display?
The precision and accuracy of voltage measurements made with a digital scope are
affected by the speed at which samples are taken, i.e. the sampling rate, and
sampling depth or bit depth. Bit depth is just the number of bits of information in
each sample, and it directly corresponds to the resolution of each sample. It also
relates to the dynamic range of the system, the largest and smallest amplitude
signal that can be digitized.