1.
Write a program in MATLAB to find the Inverse, Rank, Eigenvalues, and Eigenvectors of a
1 2 1
given matrix. 0 1 0
0 0 1
2. Write a MATLAB program to find and plot the Fourier Transform of a Gaussian Function
2
𝑓(𝑥) = 𝑒 −𝑥 .
1. Write a program in MATLAB to find the Inverse, Rank, Eigenvalues, and Eigenvectors of a
3 0 0 0
0 6 0 0
given matrix.
0 0 9 0
0 0 0 12
2. Write a MATLAB program to find and plot regression line for the following data
x 1 2 3 4 5
y 1.1 1.9 3.2 3.8 5.1
𝑑𝑦
1. Write a MATLAB program to Solve and plot the first order differential equation
𝑑𝑡
= 𝑦𝑠𝑖𝑛𝑥
y(0)=1 x range from 0 to 10 .
2. Write a MATLAB program for the data = [23, 25, 29, 34, 34, 35, 36, 40, 44, 44, 44, 50, 52, 55,
60, 65, 70, 75, 80, 85, 85, 85, 90]; to find and plot the Mean, Median Mode
𝜋/2
1. Write a MATLAB program to find the integration of ∫0 𝑠𝑖𝑛𝑥 𝑑𝑥
2. Write a MATLAB program to find correlation coefficient Between Age and Blood Pressure
age = [25, 30, 35, 40, 45, 50, 55, 60]; blood_pressure = [120, 125, 130, 135, 140, 145, 150,
160];
1. Write a MATLAB program to find Fourier Series of a Square Wave Function f(x)= sin 𝑥
2. Write a MATLAB program that generates basic pie chart, Exploded Pie Chart and donut chart,
for the data = [15, 30, 10, 25, 20] corresponding to the categories
{'Category1','Category2','Category3','Category4','Category5'}
1. Write a MATLAB program to find regression line for the following data to predict growth rates
(in %) based on their investment in research and development (R&D) (in $1000s) vs
Growth Rate (in %) rd_investment = [50, 60, 70, 80, 90]; growth_rate = [5, 7, 8, 9, 10];
2. Write a MATLAB program for Daily Temperatures (in degrees Celsius) ,temperatures = [28, 30,
32, 29, 31, 28, 30, 32, 33, 30]; find the Mean, Median and Mode.