resonatorprofile

Resonator profile

Syntax
resonatorprofile(nu,nu0,Qu,beta,type)
out = resonatorprofile(nu,nu0,Qu,beta,type)
[nu,out] = resonatorprofile([],nu0,Qu,beta,type)

% Different output options
H = resonatorprofile(nu,nu0,Qu,beta,'transferfunction')
Gamma = resonatorprofile(nu,nu0,Qu,beta,'voltagereflection')
Prefl = resonatorprofile(nu,nu0,Qu,beta,'powerreflection')
Description

This function computes the resonator profile and can return the transfer function, the voltage reflection coefficient or the power reflection coefficient. nu is the frequency range vector, in GHz, over which it is computed. If it is empty, an appropriate range is chose automatically. nu0 is the resonator resonance frequency in GHz. Qu is the unloaded Q-factor of the resonator. beta is the coupling coefficient: 1 for critical coupling (matched), less than 1 for undercoupling, and greater than 1 for overcoupling.

The loaded Q-factor is related to the unloaded Q-factor Qu and the coupling coefficient beta through:

[eqn]

The option type can be used to request either of the following:

If no output is requested, resonatorprofile plots the results.

Examples

Here is a simple example

nu = linspace(9.2,9.8,1001);   % GHz
nu0 = 9.5;                     % GHz
Qu = 1000;
beta = 1;
resonatorprofile(nu,nu0,Qu,beta,'voltagereflection');

To plot the power reflection coefficient on a logarithmic dB scale, use

P_refl = resonatorprofile(nu,nu0,Qu,beta,'powerreflection');
plot(nu,10*log10(P_refl));
xlabel('frequency (GHz)');
ylabel('reflected power (dB)');
See also

resonator