How to plot log
1 次查看(过去 30 天)
显示 更早的评论
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);
0 个评论
回答(2 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Histograms 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!