dbphi

dbphi — frequency response to phase and magnitude representation

Calling sequence

[db,phi] =dbphi(repf)  

Parameters

db,phi : vector of gains (db) and phases (degrees)
repf : vector of complex frequency response

Description

db(k) is the magnitude of repf(k) expressed in dB i.e. db(k)=20*log(abs(repf(k)))/log(10) and phi(k) is the phase of repf(k) expressed in degrees.

See also

repfreq, bode