首页|资源下载
登录|注册

您现在的位置是:EEtopic > 资源下载 > This sample program generates two sine waves called X and Y. It will then calculate the normalized

This sample program generates two sine waves called X and Y. It will then calculate the normalized

资 源 简 介

This sample program generates two sine waves called X and Y. It will then calculate the normalized magnitude and phase of the two waveforms using the following formulas: Mag = sqrt(X^2 + Y^2)/sqrt(GainX^2 + GainY^2) Phase = (long) (atan2PU(X,Y) * 360) The program will prompt the user to change the gain and frequency of the X and Y waveforms.