Professional Documents
Culture Documents
20PWMCT0732 Lab#4
20PWMCT0732 Lab#4
20PWMCT0732 Lab#4
Lab No 4:
Lab Rubrics:
BelowBasic (1)
Criteria Excellent (4) Proficient (3) Basic (2) Student’s
Score
Report is mostly
Report is
Report is as per as per the Sections/Steps
disorganized
To organize the the guidelines. are not ordered
guidelines and and follows
lab report and All and Report is
most some
practice sections/steps not as per the
sections/steps guidelines
th e writing skills are clearly guidelines
but most of
as per the organized in a are ordered well
the guidelines
guidelines logical order. but requires are missing
minor
improvements.
The report
completely The report The report The report is
discusses the discusses the discusses the totally irrelevant
To discuss the required task in required task lab work but to the lab work
actual own words with have
task some relevant irrelevant
additional information
information
Calculations Calculations and Most data and Calculations and
and data analysis observations data analyses of
were performed were lab were missing
data analyses
To perform accurately, but recorded
calculations and minor errors adequately,
were performed
data analysis were made both but with
clearly,
in calculations several
concisely, and
and in applying significant
accurately, with
correct units errors
correct
units. or omissions.
Graphs, if Graphs, if Graphs, if Major
necessary, were necessary, were necessary, components of
To present results drawn drawn were drawn but lab
in the form of accurately and adequately inadequately. were
graphs neatly and were missing
clearly labelled.
Table of Contents
Contents
Objectives..............................................................................................................................................................
Theory....................................................................................................................................................................
Rotation Matrix......................................................................................................................................................
Rotation about X....................................................................................................................................................
Rotation about Y ...................................................................................................................................................
Rotation about Z.....................................................................................................................................................
Procedure...............................................................................................................................................................
Task1......................................................................................................................................................................
Task 2.....................................................................................................................................................................
Task 3....................................................................................................................................................................
References.............................................................................................................................................................
Theory:
Rotation Matrix:
Rotation matrices are used in two senses: they can be used to rotate a vector into a new position or they
can be used to rotate a coordinate basis (or coordinate system) into a new one.
Conclusion
This tutorial demonstrates the process of creating a rotation matrix for a specified angle using the Robotics
Toolbox in MATLAB. The provided steps can be adapted for different rotation axes and angles, offering a
versatile tool for robotics applications.
Code Explanation:
First of all I defined a variable angle and stored 45 in it.
Then to find rotation matrix about x axis I used rotx and save result in a variable.
then I used trplot function to plot output.
Then I used tranimate function to animate the results.
Output:
Code Explanation:
First of all I defined a variable angle and stored 45 in it.
Then to find rotation matrix about x axis I used rotx and save result in b variable.
then I used trplot function to plot output.
Then I used tranimate function to animate the results.
Output:
Code Explanation:
First of all I defined a variable angle and stored 45 in it.
Then to find rotation matrix about x axis I used rotz and save result in c variable.
Course Instructor: Dr. Riaz Akbar Shah
7|Page
Outputs:
References:
[1] https://www.indiamart.com/ proddetail/pick-place-
systems-6600798248.html
[2] https://www.ebay.com/ itm/293659659435
[3] https:// americanhistory.si.edu/
collections/search/object/ nmah_1028521
[4] %20a,dynamics%2C %20assuming%20zero
%20initial%20conditions.