How to plot a function
古いコメントを表示
Hello,
I need to plot a graph with 
where x is between
and
,
y is here between
and
,
Can you help me with it?
Thanks
採用された回答
その他の回答 (1 件)
You may use fplot
figure, hold on
fplot(@(x)x.^-3,[1 1e5])
fplot(@(x)x.^-2.8,[1 1e5])
% use bi-logaritmic scale
set(gca,'YScale','log','xScale','log')
カテゴリ
ヘルプ センター および File Exchange で Line Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

