Question: Please solve this problem by matlab Use the linspace command or the colon operator: to create a vector t with 46 elements: 1, 1.2, 1.4,
Please solve this problem by matlab
Use the linspace command or the colon operator: to create a vector t with 46 elements: 1, 1.2, 1.4, ..., 10 and define the function y = e^t/20 cos(t)/t^2 + 4 (make sure you use ";" to suppress the output for both t and y Plot the function y in black and include a title with the expression for y. Make the same plot as in part (a), but rather than displaying the graph as a curve, show the unconnected data points. To display the data points with small circles, use plot (t, y, 'o'). Now combine the two plots with the command plot (t, y, 'o-') to show the line through the data points as well as the distinct data points
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
