11
Q1: Write a MATLAB code to find the summation of elements of the first column
in the following matrix
11
Q2: What is the purpose of the following MATLAB code?
Write the content of the Command window and the Workspace after
executing this program.
Purpose:
Command window:
Workspace:
11
Q3: write a MATLAB code to plot the function
x cos ( 6 x )
y=
e(−0.01 x)
for x in the interval [0, 2л] using 300 equally spaced points. Use your first name
as an x-label and your father name as a y-label and finally use your complete
name as title for your plot.