代码搜索结果

找到约 582,192 项符合 Cortex-M 的代码

cirshftt.m

function y = cirshftt(x,m,N) % Circular shift of m samples wrt size N in sequence x: (time domain) % ------------------------------------------------------------------- % [y] = cirshftt(x,m,N) % y

exam4_17.m

% % exam4_17.m - M-file for Example 4-17 % N=256; n=[0:N-1]; omega=0.25*pi; xn=2*sin(omega*n); % generate a sinewave Xk=fft(xn,N); % FFT absXk=abs(Xk); % compute magnitude

exam4_16.m

% % exam4_16.m - M-file for Example 4-16 % n=[0:127]; N=128; xn=1.5*sin(0.2*pi*n+0.25*pi); % generate a sinewave Xk=dft(xn,N); % DFT semilogy(abs(Xk)); % spectrum

convolution1.m

function y=convolution1(x,h) M=length(x); N=length(h); temp=zeros(1,M+N-1); for n=1:1:M+N-1 for m=1:1:M k=n-m+1; if(k>=1&&k

sampgauss.m

function [x]=sampgauss(m,C,N) % % x=SAMPGAUSS(m,C,N) % % samples N-times from an multi-dimensional gaussian distribution % with covariance matrix C and mean m. Dimensionality is implied % in the

cirshftt.m

function y = cirshftt(x,m,N) % 长度为 N 的x序列: (时域)作m采样点圆周移位 % ------------------------------------------------------------------- % [y] = cirshftt(x,m,N) % y = 包含圆周移位的输出序列 % x = 长度

ovrlpsav.m

function [y] = ovrlpsav(x,h,N) % 用混叠相加法作块卷积 % ---------------------------------------- % [y] = ovrlpsav(x,h,N) % y = 输出序列 % x = 输入序列 % h = 脉冲响应 % N = 块长 % Lenx = length(x); M = length(h); M1

maintargetfun.m

function fff=MainTargetFun(x,structData) % x0=ones(1,9);A=[];b=[]; % Aeq=[zeros(1,7),1,0;zeros(1,8),1;0,ones(1,3),zeros(1,5);zeros(1,6),1,0,0]; % beq=[structData.f;structData.m-structData.m_stichio

ladder.m

function [alpha0,alpha,beta]=ladder(B,A) % Ladder Realization of a Transfer Function % Amir M. Sadri, Dynamics & Control Research Group % University of Manchester % 10 May, 1997 % Referenc

pehypb2lf.m

function u = pe2LF(a,b,dt,nx,minx,maxx,ny,miny,maxy,M) %啦-佛 format long; hx = (maxx-minx)/(nx-1); hy = (maxy-miny)/(ny-1); for i=1:nx+2*M for j=1:(ny+2*M) u0(i,j) = Ini2U(minx+(i-M-