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

📄 autocorrelation.m

📁 Matlab 模拟 CDMA 直接扩频。m序列生成矩阵为p(x) = 1 + x^5 + x^7 + x^8 + x^9 + x^13 + x^15。能画出每阶段的时域、频域图。
💻 M
字号:
function [ output ] = autocorrelation( input )%Get and Plot auto-correlation of the input array.%n = length(input);r = circonvt(input,fliplr(input),length(input));%k = (-n):n';%stem(k,r);stem(r)xlabel('Lag index');ylabel('Amplitude');%v = axis;%axis([-n n v(3:end)]);output = r;

⌨️ 快捷键说明

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