Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
Fftseq.m
Package: 现代通信系统matlab版源代码.zip [view]
Upload User: loeagle
Upload Date: 2013-03-02
Package Size: 1236k
Code Size: 1k
Category:
Communication Document
Development Platform:
Matlab
- function [M,m,df]=fftseq(m,ts,df)
- % [M,m,df]=fftseq(m,ts,df)
- % [M,m,df]=fftseq(m,ts)
- %FFTSEQ generates M, the FFT of the sequence m.
- % The sequence is zero padded to meet the required frequency resolution df.
- % ts is the sampling interval. The output df is the final frequency resolution.
- % Output m is the zero padded version of input m. M is the FFT.
- fs=1/ts;
- if nargin == 2
- n1=0;
- else
- n1=fs/df;
- end
- n2=length(m);
- n=2^(max(nextpow2(n1),nextpow2(n2)));
- M=fft(m,n);
- m=[m,zeros(1,n-n2)];
- df=fs/n;