To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016
Can someone show me how to plot the following functions using axes that will produce a stright-line plot using Use the range 0 \< x \< 10
1) The power function y= 2x^-0.5 2) The exponential function y= 10^(1-x)
No products are associated with this question.
In the first case you can use loglog():
x = 1:0.1:10; y = 2*x.^(0.5); loglog(x,y)
In the second case you can use semilogy();
x = 1:0.1:10; y = 10.^(1-x); semilogy(x,y)