Question: Function and Vector operations. Define 2 vectors and name them vec 1 and vec 2 both with 3 elements. vec 1 = [ 1 ,
Function and Vector operations.
Define vectors and name them vec and vec both with elements. vec and vec
Calculate the dot product and the cross product of vec and vec
Write a function called BERESITFunction.m that takes in vectors and output the dot product scalar product of the two input vectors.
Test this on vec and vec
Solving Linear Equations:
Consider the system of linear equations:
Create the coefficient matrix A and the constant vector
Solve the system using the inverse matrix method in MATLAB.
Find the eigenvalues and eigenvectors of
Data Modelling and Plotting:
Type load polydata in MATLAB. This will load arrays and
Plot the data with on the horizontal axis and on the vertical axis.
with grid lines, axis labels, a dotted red line style and title of your choice.
Add to the plot the line plotting against with a blue solid line.
Add a legend.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
