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.