Calculating the bandwidth of multi variable function

Dear all, I have the following gain spectrum

 y=(1./((f.^2)+1))-(p./((f+w).^2+1))-(p./((f-w).^2+1));

I evaluated the function over the variables f, w and p. Now I want find the 3db-bandwidth of resulting spectrum over certain values of f, lets say(f1= -0.5,f2=0.5) * only* and not over the entire period. Afterwards, I want to plot the bandwidth against p and w , and find the SNR Thank you

   N = 200 ;
    f = linspace(-4,4,N) ;
    p = linspace(0,1,N) ;
    w = linspace(0,2,N) ;
    [f,p,w] = meshgrid(f,p,w) ;
    y=(1./((f.^2)+1))-(p./((f+w).^2+1))-(p./((f-w).^2+1));

댓글 수: 7

KALYAN ACHARJYA
KALYAN ACHARJYA 2018년 10월 1일
편집: KALYAN ACHARJYA 2018년 10월 1일
What is x? f1=-4 and f2=200 then bandwidth 204, your comment?
I revised the question
Your question is not clear to me.
since this function may has many peaks over the entire period (-4,4), I want to find the 3db bandwidth of certain portion this function over the period (-0.5,0.5)
Are you talking about FWHM (Full Width at Half Maximum) ?
Yes exactly. However, the required bandwidth FWHM only over certain range of f (-0.5,0.5)
You could feed in only the data corresponding to that range -- unless, that is, doing so would affect the calculation of where the baseline was.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Mathematics에 대해 자세히 알아보기

질문:

2018년 10월 1일

댓글:

2018년 10월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by