Write commend to each line for explaining the line With the code guarantee that all command window, figures and workspace is clear Let t be a vector which contains time values from 0 to 20s with a step size of 0.5 define the vector Let a be a sin(t) function define the variable and plot the function with respect to t Add x label, ylabel, title and legend to your figure and save as fig file.
Write your codes in m.file
Write commend to each line for explaining the line
With the code guarantee that all command window, figures and workspace is clear
Let t be a vector which contains time values from 0 to 20s with a step size of 0.5 define the vector
Let a be a sin(t) function define the variable and plot the function with respect to t
Add x label, ylabel, title and legend to your figure and save as fig file.
Let b be a sin(t+φ) function, define phase difference φ for 30◦ ,45◦ ,60◦ ,90◦ . and plot all the functions with respect to t in a single fig file with different color lines, curve types
Let c be a cos (t+φ) function having a phase difference of φ 30◦ ,45◦ ,60◦ ,90◦ . Create a 2by 2 figure and plot the graphs of each 4 case into a subplot Add x label, ylabel, title and legend to each
-Suppose that x=date of your birth and y is month of your birth. Use Matlab and calculate the followings;
Step by step
Solved in 3 steps with 3 images