代码搜索:M
找到约 10,000 项符合「M」的源代码
代码结果 10,000
www.eeworm.com/read/493017/6404040
m m_exam3.m
% example 3
erasers=4;
pads=6;
tapes=2;
keyboard
items=erasers+pads+tapes;
cost=erasers*25+pads*22+tapes*99
average_cost=cost/items
www.eeworm.com/read/493017/6404055
m m_exam5.m
% example 5
for n=1:5
for m=5:-1:1
A(n,m)=n^2+m^2;
end
disp(n);
end
disp(A)
www.eeworm.com/read/493017/6404060
m m_exam6.m
% example 6
num=0;
EPS=1;
while (1+EPS)>1
EPS=EPS/2;
num=num+1;
end
disp(num);
EPS=2*EPS
disp(EPS);
www.eeworm.com/read/493017/6404071
m m_exam12.m
% example 12
x=linspace(0,2*pi,30);
y=sin(x);
z=cos(x);
a=2*sin(x).*cos(x);
b=sin(x)./(cos(x)+eps);
subplot(2,2,1)%选取4个子图中的左上
plot(x,y);axis([0 2*pi -1 1]),title('sin(x)');
subplot(2,2,2)%选取4个
www.eeworm.com/read/493017/6404078
m m_exam4.m
www.eeworm.com/read/493017/6404106
m m_exam10.m
% example 10
x=linspace(0,2*pi,30);
y=sin(x);
z=cos(x);
plot(x,y,x,z);
grid
xlabel('Independent variable x');
ylabel('Independent variable y and z');
title('sine and cosine curves');
axis([0
www.eeworm.com/read/493017/6404109
m m_exam8.m
% example 8
x=linspace(0,2*pi,30);
y=sin(x);
z=cos(x);
plot(x,y,'g:',x,z,'r-',x,y,'bo',x,z,'r+')
www.eeworm.com/read/491824/6426863
m nnd12m.m
function nnd12m(cmd,arg1)
%NND12M Marquardt backpropagation demonstration.
%
% This demonstration requires the Neural Network Toolbox.
% $Revision: 1.8 $
% Copyright 1994-2002 PWS Publishing C
www.eeworm.com/read/490775/6442359
m m_sequence_generator.m
使用移位寄存器生成m序列
%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% 该函数根据输入的扩频因子生成相应的M序列, %
% 其中扩频因子限制在2的3次幂到2的12次幂之间。 %
%
www.eeworm.com/read/488803/6486330
m conv1_m.m
function[y,ny]=conv_ma(x,nx,h,nh)
nyb=nx(1)+nh(1);nye=nx(length(x))+th(length(h));
ny=[nyb,nye];
y=conv(x,h);