summaryrefslogtreecommitdiff
path: root/61/DEPENDENCIES/phase_shift.sci
blob: 3c9a653cbf2d6a3cf4e30ca357c2fca4d129d8e4 (plain)
1
2
3
4
function theta=phase_shift(f,f_c)
    theta_rad=-atan((f/f_c))
    theta=theta_rad*180/%pi;
endfunction