0% found this document useful (0 votes)
9 views

Matlab 01 by Momin

Uploaded by

Arafat Hossain
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

Matlab 01 by Momin

Uploaded by

Arafat Hossain
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Heaven’s light is our guide

Rajshahi University of Engineering & Technology

Department of Electrical & Electronic Engineering

Course Title: Computational Methods in Engineering Sessional


Course Code: EEE 3110

LAB REPORT

Submitted by, Submitted to,


Name: Md. Mominur Chowdhury Md. Mahmudul Hasan
Roll: 2001095 Assistant Professor, EEE
Sec: B RUET
Experiment No: 01

Experiment Name: MATLAB Introduction.

Introduction: In contemporary scientific and engineering research, the utilization of computational tools
has become indispensable for data analysis, simulation, and modeling. MATLAB, a high-level
programming language and environment developed by MathWorks, offers a versatile platform for
numerical computing and visualization, making it a staple in various fields ranging from signal processing
to control systems.

This lab report aims to introduce the fundamental principles of utilizing MATLAB for data analysis and
visualization through practical experimentation. Throughout this exercise, we will explore the
functionalities of MATLAB in processing experimental data acquired from [describe your experimental
setup or source of data]. By leveraging MATLAB's powerful built-in functions and toolboxes, we will
perform tasks such as data manipulation, statistical analysis, and graphical representation, ultimately
deriving meaningful insights from the data.

The objectives of this lab session are as follows:

Familiarization with MATLAB Environment: Acquaintance with the MATLAB interface, basic commands,
and workflow for data analysis.

Data Import and Preprocessing: Importing experimental data into MATLAB, cleaning and preprocessing
the data for analysis.

Statistical Analysis: Utilizing MATLAB's statistical toolbox to perform descriptive statistics, hypothesis
testing, and regression analysis.

Data Visualization: Generating informative plots and graphs to visually represent the analyzed data,
aiding in interpretation and presentation.

Matrix fundamentals in MATLAB:


Plotting a signal using MATLAB:

Fourier series using MATLAB:


CT Average using MATLAB:

%Read CT marks from excel file


marks = xlsread('CT_marks.xlsx')

marks = 5×5

2001095 11 7 13 6
2001096 15 1 11 17
2001097 19 17 13 10
2001098 20 13 7 4
2001099 2 8 11 18

sorted_marks = sort(marks(1:5,2:5),2,'descend');
best_three = sorted_marks(:,1:3);
average = mean(best_three,2);
average = ceil(average);
col_name = {'Roll','Average'};
final_ct_marks = [col_name; num2cell([marks(:,1),average])]

final_ct_marks = 6×2 cell

1 2

1 'Roll' 'Average'

2 2001095 11

3 2001096 15

4 2001097 17

5 2001098 14

6 2001099 13

xlswrite('final_ct_marks.xlsx',final_ct_marks);

Discussion and conclusion: The exploration of MATLAB's capabilities for data analysis and visualization
has provided valuable insights into its practical utility in scientific and engineering applications. Through
the execution of various tasks within the MATLAB environment, including data import, preprocessing,
statistical analysis, and visualization, several key observations and conclusions can be drawn.

You might also like