Question: Create an array of 100 input samples in the range of 1 to 100 using the linspacefunction, and plot the equation y(x)=20 log10(2x) on a

Create an array of 100 input samples in the range of 1 to 100 using the linspacefunction, and plot the equation y(x)=20 log10(2x) on a semilogx plot. Draw a solid blue line of width 2, and label each point with a red circle. Now create an array of 100 input samples in the range of 1 to 100 using the logspace function, and plot the equation y(x)=20 log10(2x) on a semilogx plot. Draw a solid red line of width 2, and label each point with a black star. How does the spacing of the points on the plot compare when using linspace and logspace?

Please copy and paste your matlab exactly from the program itself (or provide screenshots) so I can see the code. Also provide the output as well.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!