代码搜索结果

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

imnoise.m

A=imread('lena.bmp'); subplot(121); imshow(A); b=double(A); [M,N]=size(A); for i=1:M for j=1:N if rem(12,b(i,j))==0 b(i,j)=0; end end end subplot(122);

imnoise3.m

function [r,R,s]=imnoise3(c,a,b) c=double(c); [M,N]=size(c); if nargin==3 a(1:M)=1.0; b(1:M,1:2)=0; elseif nargin==4 b(1:M,1:2)=0; end R=zeros(M,N); for j=1:M u1=M/2+1+c(j,1

cyc1.m

disp('水仙花数为:') for m=100:999 m1=fix(m/100); %求m的百位数字 m2=rem(fix(m/10),10); %求m的十位数字 m3=rem(m,10); %求m的个位数字 if m==m1*m1*m1+m2*m2*m2+m3*m3*m3 disp(m) end end

demo.m

%命令文件mydemo.m: x=[1:3]; y=[1;2;3]; %调用了charray.m文件 charray(x) charray(x,y') charray(x,y,3)

nco_tb.m

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Altera NCO Compiler version 6.1 % file : NCO_tb.m % % Description : The following Matlab testbench excerc

fit1500.m

/* For Atmel-WinCUPL 4.7b or later ************** FIT1500.M - Fitting Options Atmel ATF1500 ************** In most designs, you do not need to use any of the Fitting Options. If your design is

synthesize.m

function t=synthesize(r,s,m,n,l) for i=1:m for j=1:l test(1,:)=r(i,:); test(2,:)=(s(:,j))'; for k=1:n test1(1,k)=min(test(:,k)); end t(i

fc_relation.m

function t=fc_relation(a,b,c,d) %三张隶属度表 输入1 %控制规则表 输入2 %总的模糊关系 m=size(d,1); n=size(d,2); count=0; for i=1:m for j=i:n k=d(i,j); count=count+1; rr(:,:,count)=rela

synthesize.m

function t=synthesize(r,s,m,n,l) for i=1:m for j=1:l test(1,:)=r(i,:); test(2,:)=(s(:,j))'; for k=1:n test1(1,k)=min(test(:,k)); end t(i

fc_relation.m

function t=fc_relation(a,b,c,d) %三张隶属度表 输入1 %控制规则表 输入2 %总的模糊关系 m=size(d,1); n=size(d,2); count=0; for i=1:m for j=i:n k=d(i,j); count=count+1; rr(:,:,count)=rela