Write matlab command to solve the following
epressions: Where x=10, y=2, t=5 r =15
Rule:
1) Matrix Addition or Subtraction ( +, -) :
- Both matrices must be same size
(Corresponding element by element
operation)
2) Matrix Multiplication (*):
- 1st matrix column must be equal to 2nd
matrix row.
(row by column operation)
3) Matrix dot Multiplication (.*):
- Only applicable for vectors (one
dimensional matrix)
- Both matrices must be same size
(Corresponding element by element
operation)
Write matlab command to plot the
function of y = e cos ( t )
−2 t
over −5 ≤ t ≤5
Plot the following two functions on the
same graph.
f(x) = x cos(x)
g(x) = tan(x)
over the x values range from 0 to 10π
plot 3d graph for the following function
y = x sin(x)
z = x cos(x)
x values range from -10pi to 10pi
plot 3d graph for the following function
xt = ¿
yt = sin ( √ 32 t )
zt = ¿
t values range from 0 to 40pi