代码搜索结果
找到约 582,192 项符合
Cortex-M 的代码
m.err
>>> Warning 203 "m.C" Line 108(1,1): Condition always TRUE
>>> Warning 203 "m.C" Line 449(1,1): Condition always TRUE
Memory usage: ROM=25% RAM=8% - 10%
0 Errors, 2 Warnings.
m.pjt
[PROJECT]
Target=m.HEX
Development_Mode=2
Processor=0x8448
Processor_Text=PIC18F448
ToolSuite=CCS
[Directories]
Include=
Library=
LinkerScript=
[Target Data]
FileList=m.C;
BuildTool=C-
exm3.m
[FileName,PathName,FilterIndex]=uigetfile( ...
{ '*.m', 'M-files (*.m)'; ...
'*.fig','Figures (*.fig)'; ...
'*.mat','MAT-files (*.mat)'; ...
'*.mdl','Models (*.mdl)'; ...
'*.*', '
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
ovrlpsav.m
function [y]=ovrlpsav(x,h,N) %重叠保留法作分段卷积
Lx=length(x);M=length(h); %N为段长
M1=M-1;L=N-M1;
h=[h zeros(1,N-M)];
x=[zeros(1,M1),x,zeros(1,N-1)]; %预置(M-1)个零
K=floor((Lx+M1-1)/(L));
fftseq.m
function [M,m,df]=fftseq(m,ts,df)
% [M,m,df]=fftseq(m,ts,df)
% [M,m,df]=fftseq(m,ts)
%FFTSEQ generates M, the FFT of the sequence m.
% The sequence is zero padded to meet th
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) are computed.
fftseq.m
function [M,m,df]=fftseq(m,ts,df)
% [M,m,df]=fftseq(m,ts,df)
% [M,m,df]=fftseq(m,ts)
%FFTSEQ Generates M, the FFT of the sequence m.
% The sequence is zero padded to meet the required frequen
ex_07_03_2.m
% ex_07_03_2.m : 习题 7.3
clear all;
fl=pi/6;fh=pi/3;N=29;
factor=(N+1)/2;m=factor*fl/pi;
m=floor(m);m2=factor*fh/pi;m2=ceil(m2);
j=sqrt(-1);
for k=0:(N-1)
if((k=(N-m))||((k>=