plot the following functions using axes that will produce a stright line
Show older comments
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)
Thanks
Accepted Answer
More Answers (1)
Honglei Chen
on 23 Feb 2012
I don't quite understand what you mean by using axes. But if you use
loglog(x,y)
for the first function and
semilogy(x,y)
for the second function, they'll look like straight lines, basically taking advantage of logarithms.
Categories
Find more on MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!