代码搜索结果
找到约 10,000 项符合
5 的代码
5-5-2.m
%初始化正向权值w和反向权值v
w=rands(18,2)/2+0.5;
v=rands(5,18)/2+0.5;
%输入向量P和目标向量T
P=[0 0;0.5 0.5;0 0.5;1 3;0.5 1;1 0.5];
T=[1 0 0 0 0;1 0 0 0 0;0 1 0 0 0;0 0 1 0 0;0 0 0 1 0;0 0 0 0 1];
T_out=T;
%设定学习步数为1
chapter5_5.m
a=[-0.5572,-0.7814;0.7814,0];b=[1;0];
c=[1.9691,6.4493];d=[0];
x0=[1;0];t=0:0.1:20;
initial(a,b,c,d,x0,t)
ex5_5.m
x=0:pi/100:2*pi;
y1=0.2*exp(-0.5*x).*cos(4*pi*x);
plot(x,y1)
hold on
y2=2*exp(-0.5*x).*cos(pi*x);
plot(x,y2);
hold off
vtb5_5.m
function vtb5_5(ma,m,ca,ka,k,rfin)
%VTB5_5 Normalized amplitude of the primary mass for a
% damped vibration absorber design.
% VTB5_5(ma,m,ca,ka,k,rfin) plots the normalized amplitude
% for a system
ex5-5.c
#include
struct ydate {
unsigned int year;
unsigned char month, day;
};
leapyear(struct ydate d) {
unsigned char leapy=0;
if((d.ye
ex5_5.m
x=0:pi/100:2*pi;
y1=0.2*exp(-0.5*x).*cos(4*pi*x);
plot(x,y1)
hold on
y2=2*exp(-0.5*x).*cos(pi*x);
plot(x,y2);
hold off
cp5_5.m
%%%%%%%%%%% Comprehensive Problem 5.5 %%%%%%%%%%%
% Discrete-Time Control Problems using %
% MATLAB and the Control System Toolbox %
% by J.H. Chow, D.K. Frederick, & N.W. Chbat
reinf5_5.m
%%%%%%%%%%% Reinforcement Problem 5.5 %%%%%%%%%%%
% Discrete-Time Control Problems using %
% MATLAB and the Control System Toolbox %
% by J.H. Chow, D.K. Frederick, & N.W. Chbat
ex5_5.m
%%%%%%%%%%%%%%%%%% Example 5.5 %%%%%%%%%%%%%%%%%%
% Discrete-Time Control Problems using %
% MATLAB and the Control System Toolbox %
% by J.H. Chow, D.K. Frederick, & N.W. Chbat