代码搜索结果
找到约 582,192 项符合
Cortex-M 的代码
desvec.m
function Z = desvec(Zv,M);
% PURPOSE: Creates a matrix unstacking a vector
% ------------------------------------------------------------
% SYNTAX: Z = desvec(Zv,M);
% ---------------------------
b2n.m
function n = b2n(b,m)
% convert an m-bit binary sequence b to an integer
n = 0;
for i=1:m
n = n + b(i)*2^(i-1);
end
blackman.m
function w_black = Blackman(M);
% M-point Blackman window
% -----------------------
% w_black = Blackman(M);
%
M1 = M-1;
m = [0:1:M1];
w_black = abs(0.42 - 0.5*cos(2*pi*m'/(M1)) + 0.08*cos(4*
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
ex051700.m
% Chapter 05: Example-5.17: Overlap and save
%
n = 0:9;
x = n+1; Lenx = length(x);
h = [1,0,-1]; M = 3; M1 = M-1; L = N-M1;
N = 6; h = [h zeros(1,N-M)];
%
x = [zeros(1,M1), x, zeros(1,N-1)];
K
dct_lms_c.m
function [W, e, Lambda] = dct_lms_C(u, d, M, alpha, beta, gamma, verbose)
% function [W, e, Lambda] = dct_lms_C(u, d, M, alpha, beta, gamma, verbose)
%
% dct_lms_C.m - use DCT-LMS algorithm with recur
redbusad.m
function Yred=redbusad(Y,M)
% Yred=RedBusAd(Y,M) returns the reduced bus admittance matrix, for
% a network with full admittance matrix Y and in which the last M
% buses are to be eliminated. If Y
eigen_vec.m
% The name of the M-file: eigeb_vec
% This M-file creates a figure window and plots the absolute magnitudes of
%left and right eigenvector of the load flow Jacobian matrix at the point
% of collap
eigen_sing.m
% The name of the M-file: eigeb_sing
% This M-file creates a figure window and plots the absolute magnitudes of
%left and right eigenvector of Dyg at singular point
figure(grph_fig);
set(grph_fig,
rx_est.m
function [Rx]=Rx_est(X,M)
% [Rx]=Rx_est(X,M) (求自相关系数的函数)
% RX_EST Estimates the autocorrelation of the sequence of random
% variables given in X.only Rx(0),Rx(1),...,Rx(M) a