0% found this document useful (0 votes)
22 views10 pages

MATLAB Lab for Engineering Students

Uploaded by

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

MATLAB Lab for Engineering Students

Uploaded by

Venkatesh Venkat
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Dynamics & Vibration–Lab session

Dr. Vamsi Inturi


Lab schedule and Marks
https://chat.whatsapp.com/FBQycjgsuJJ3bNdhDcmKQc

Grading:
Lab Plan:
Marks Task
Our lab schedule for this semester has been
4 Quiz
released. Please find the dates below: 8 Practice problems
Lab Session 1 -- 17.08.24 (8.00-10.00 PM) 8 Assignment and final report
Lab Session 2 -- 24.08.24 (8.00-10.00 PM) Lab Practice:
Lab Session 3 -- 31.08.24 (8.00-10.00 PM) Refer to the slot allotment sheet
Lab Session 4 -- 07.09.24 (8.00-10.00 PM) 17.08.2024 to 14.09.2024
23.09.2024 to 27.09.2024
07.10.2024 to 02.11.2024
MATLAB – On ramp

• MATLAB (matrix laboratory) – fourth-generation high-level programming language and


interactive environment for numerical computation, visualization and programming

• MATLAB is developed by MathWorks

• It allows matrix manipulations; plotting of functions and data; implementation of


algorithms; creation of user interfaces

• It has numerous built-in commands and functions that helps in performing mathematical
calculations (linear algebra, statistics, Fourier analysis, etc.), generating plots, and
performing numerical methods
MATLAB – On ramp (Contd.,)

• Current folder – Access


your files

• Command window – Enter


commands

• Workspace – Explore data


or import from files
MATLAB – On ramp (Contd.,)

• Variables
• A = 1:10

• B = 2:-0.5:1

• C = [1:4;5:8]

• Matrix index – begin from 1 and must be positive integer


• D = [3 1 4; 5 6 2; 7 9 8] D(6), D(3,2), D(2,:) D(1:2, 2)

• Flow control
• If for else while
Lab exercise 1: Vibratory response of pendulum

• Write a generic MATLAB program to obtain linear and non-linear response of a simple
pendulum system
• Free-body diagram

• Deriving governing equations

• Writing M-script

• Solving equations through ODE45

• Visualizing the response


Lab exercise 2: Damped single degree of freedom oscillator
Task for students–Next steps

Perform these tasks by every student

1. Practice the tool for extracting the vibration response of a pendulum

2. Practice the tool for extracting the vibration response of a damped single degree of
freedom oscillator

3. Change the input parameters and analyze the variation resulted

4. Assignment and Quiz will be at the end of semester


Report format

Following must be included in the report

• Problem statement along with diagram/equations

• M-script

• Response results (all)

• Interpret results and correlate with actual application

*The screenshot of the model/results should have the complete screen with date & time
visible
Thank you

You might also like