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

📄 circevod.m

📁 the file contain many matlab signal source code and many example .
💻 M
字号:
function [xec,xoc]=circevod(x)
% signal decomposition into circular-even and circular-odd parts
% --------------------
% [xec,xoc]=circecod(x)
%
if any (imag(x)~=0)
    error('x is not a real sequence')
end
N=length(x)
n=0:(N-1)
mod(-n,N)
xec=0.5*(x+x(mod(-n,N)+1))
xoc=0.5*(x-x(mod(-n,N)+1))

⌨️ 快捷键说明

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