Calculating the bandwidth of multi variable function

6 vues (au cours des 30 derniers jours)
Alin Brad
Alin Brad le 1 Oct 2018

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 commentaires
Alin Brad
Alin Brad le 4 Oct 2018
Yes exactly. However, the required bandwidth FWHM only over certain range of f (-0.5,0.5)
Walter Roberson
Walter Roberson le 4 Oct 2018
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.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Mathematics dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by