How to plot log

조회 수: 7 (최근 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 CenterFile Exchange에서 Prepare 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