How to plot log

12 ビュー (過去 30 日間)
Jas M
Jas M 2018 年 1 月 14 日
回答済み: Jas M 2018 年 1 月 14 日
I'm trying to plot this function and my plot should look like the second picture ( for a= 110, b=2,c=2., d=7) but mine doesn't can you please tell me what im doing wrong? this function gives Log ( CSF) but plot is for CSf vs F
function func = qcsf(a,b,c)
f=1:5;
x= log(f)-log(b) ;
y= c*(log(2)/2) ;
csf= log(a)-log2(x/y).^2 ;
qcsf= power(10,csf);
figure
plot(f,csf);

回答 (2 件)

Rafael Hernandez-Walls
Rafael Hernandez-Walls 2018 年 1 月 14 日
change
plot
for
semilogy

Jas M
Jas M 2018 年 1 月 14 日
i did but y axis values are completely different..

カテゴリ

Help Center および File ExchangePrepare Model Inputs and Outputs についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by