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

📄 a_f.m

📁 A full implementation of ICA,PCA,LDA,SVM,in both orginal and incremental in model of real time learn
💻 M
字号:
% A_f.m%% Takes "scrambled Fourier" measurements.%% Usage: b = A_f(x, OMEGA, P)%% x - N vector%% b - K vector = [real part; imag part]%% OMEGA - K/2 vector denoting which Fourier coefficients to use%         (the real and imag parts of each freq are kept).%% P - Permutation to apply to the input vector.  Fourier coeffs of%     x(P) are calculated.%     Default = 1:N (no scrambling).%% Written by: Justin Romberg, Caltech% Created: October 2005% Email: jrom@acm.caltech.edu%function b = A_f(x, OMEGA, P)N = length(x);if (nargin < 3), P = 1:N;  endfx = 1/sqrt(N)*fft(x(P));b = [sqrt(2)*real(fx(OMEGA)); sqrt(2)*imag(fx(OMEGA))];

⌨️ 快捷键说明

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