代码搜索结果

找到约 10,000 项符合 3 的代码

ex3_3.m

a=input('a=?'); b=input('b=?'); c=input('c=?'); d=b*b-4*a*c; x=[(-b+sqrt(d))/(2*a),(-b-sqrt(d))/(2*a)]; disp(['x1=',num2str(x(1)),',x2=',num2str(x(2))]);

5-3-3.m

%竞争层的输出 Jingzheng=rands(20)'; %正向权值W和反向权值T W=rands(20,5); T=rands(20,5); %警戒参数 threshold=0.8; %两组模式A1和A2 A1=[1 1 0 0 0]; A2=[1 0 0 0 1]; %初始化 for i=1:20 for j=1:5 W(i,j)=1/6;

chap3_3.m

%Define N+1 triangle membership function clear all; close all; N=6; x=-3:0.01:3; for i=1:N+1 f(i)=-3+6/N*(i-1); end u=trimf(x,[f(1),f(1),f(2)]); figure(1); plot(x,u); for j=2:N

fig3_3.m

% Figure 3.3 % % BM Mar 98 clf colordef(1,'black') clear % frequency response p1 = -1 + 3j; num = 1; den = [ 1 -p1 ]; wmax = 2*imag(p1); w = 0:wmax/40:wmax; iimax = max(size(w)); h =

p3_3.c

#include "REG51.h" main(){ unsinged char data* pRAM = 0x00; unsinged char temp = 0; ACC = pRAM[0x31]; /*第1步操作*/ temp = ACC; /*第2步操作*/ ACC = pRAM[0x30]; pRAM[0x30] = temp; pRAM

p3_3.asm

ORG 0000H LJMP MAIN ORG 4100H MAIN: MOV A, 31H ;第1步操作 XCH A, 30H ;第2步操作 MOV 31H, A ;第3步操作 END ; ORG 0000H ; LJMP MAIN ; ORG 4100H ;MAIN: MOV R3, 31H ;第1步操作 ; MOV 31H,

chap3_3.m

%Define N+1 triangle membership function clear all; close all; N=6; x=-3:0.01:3; for i=1:N+1 f(i)=-3+6/N*(i-1); end u=trimf(x,[f(1),f(1),f(2)]); figure(1); plot(x,u); for j=2:N