I do not get exactly what does atan2d(0,0) means?
Afficher commentaires plus anciens
I know what does "atan2d" do, but why atan2d(0,0) give us zero? shouldn't it be NaN?
Réponse acceptée
Plus de réponses (1)
As further motivation, consider also the similar convention used by the angle() function
>> angle(0+0i)
ans =
0
In Fourier Analysis, this makes sense because, even though Fourier spectra are in general complex-valued, there are prominent cases where a spectrum S(f) is real-valued and you want the phase response to be semi-continuous at zero crossings S(f)=0.
Catégories
En savoir plus sur MATLAB dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!