How to plot log

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);

Respuestas (2)

Jas M
Jas M el 14 de En. de 2018

0 votos

i did but y axis values are completely different..

Categorías

Más información sobre Prepare Model Inputs and Outputs en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 14 de En. de 2018

Respondida:

el 14 de En. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by