⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fpfft.m

📁 OFDMA 物理层开发的matlab 源码.飞思卡尔提供.对物理层开发的工程师有帮助!
💻 M
字号:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%  Property of Freescale
%  Freescale Confidential Proprietary
%  Freescale Copyright (C) 2005 All rights reserved
%  ----------------------------------------------------------------------------
%  $RCSfile: fpfft.m.rca $
%  Tag $Name:  $
%  $Revision: 1.1 $
%  $Date: Fri Oct 27 15:54:02 2006 $
%  Target: Matlab
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Fixed Point FFT (512 or 1024).
%
%     [Out, scaledUsed ] = fpfft(In,Scaling,additionnalScaling);
%
% ***** INPUTS *****
%
% In                 : (real or complex double) 
%                      Data
%                      vector or matrix 
%                      Matrices are written column by column. 
%
% Scaling            : (optional) (hex) 
%                      Scaling applied by the C FFT
%                      Default value is "0x00088000".
%                      Help from C function:
%                      "Controls the scaling of each stage of the FFT/IFFT.  The scaling
%                      for each stage can be individually selected.  Each stage in the FFT has 2
%                      bits associated with it, 1 for scaling up (multiply by 2) and 1 for scaling
%                      down (divide by 2).  The top 16 bits control scaling up and the bottom 16
%                      bits control scaling done.  Bit 0 and Bit 16 control stage 0, Bit 1 and Bit 17
%                      control stage 1, Bit 2 and Bit 18 stage 3 etc.  The last stage is controlled
%                      by bits 15 and 31, no matter what the order of the FFT.
%                      For example a value of 0x80000003 for a 256 point FFT, would cause a scale
%                      down in Stages 0 and 1, no scaling in Stage 2 and a Scale up in Stage 3."
%
%
% additionnalScaling : (optional) (double)
%                      Additionnal scaling up in the MEX, after the C call only
%                      Default value is 16.
%
%
% ***** OUTPUTS *****
%
% Out                : (complex double) 
%                      Data
%                      vector or matrix 
%                      Matrices are written column by column. 
%
% scaledUsed           : (optional) (hex) 
%                      Scaling applied by the C FFT
%                      Note that if the input "Scaling" is provided,
%                      scaledUsed is set to "Scaling".
%                      If the input "Scaling" is provided, it gives back
%                      the scaling applied by the MEX (the chose of the
%                      scaling by the MEX itself is not completed so far)


%-- Send error message if dll does not exist
error('No fpfft dll onboard, use make_fpfft to generate it')






⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -