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

Tutorial

This document provides a tutorial on using MATLAB to: 1) Evaluate various mathematical equations and expressions. 2) Perform operations on vectors such as transposition, accessing elements, and arithmetic operations. 3) Solve linear equations and access specific elements of matrices.
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)
50 views

Tutorial

This document provides a tutorial on using MATLAB to: 1) Evaluate various mathematical equations and expressions. 2) Perform operations on vectors such as transposition, accessing elements, and arithmetic operations. 3) Solve linear equations and access specific elements of matrices.
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
You are on page 1/ 1

Tutorial MATLAB

1) Evaluate the following equations


a) Z= 10.11+sin(33o)
b) P=Z2/200
c)

d) 2.32 3 4
e) If a=2-7i and b=8+4i. evaluate
i)x=a/b ii) x=a*b iii) x=a+b vi) x=b-a
2) a) evaluate the transpose of vector V, if V= [ 1 2 6 3 7 2]; And then
reverse it to row.
b) Define vector that starts with -10 and ends at 40. Using step size 0.5
3) If V=20:4:100
a) Accessing to the elements from (1 to10) for create vector w
b) Accessing to the element at the center
c) Accessing to the elements from (2 to end) for create vector N
d) Accessing to the elements from 1 to (end-1) for create vector F
e) create ve=even numbers and vo=odd numbers
4) if x=[2 5 1 4 2] & y=[2; 5; 1; 4; 2] compute
z1=x+yT, z2=y-xT , z3=yT./x z4=x*y z5=xT*yT z6=xT*y z7=9*x z=z5-1

5) a) Write the MATLAB commands to solve the linear equation

/

b) if x=
,

i)accessing the element at row1 and column1 ii) column3&4


iii) row1&2 vi) column1,3 and row2,4

You might also like