📄 examp2_12.m
字号:
A=[0 1; -1 -2]; B=[0;1]; C=[1 2]; D=0;
w=[0.1:0.05:1, 1.5:0.5:10, 15:5:100 150:50:1000];
m=[]; I=eye(size(A));
for i=w,
m=[m; C*inv(sqrt(-1)*i*I-A)*B+D];
end
length(w) % 显示频率点个数
w1=0.1:.1:1000; m1=[];
for i=w1,
m1=[m1; C*inv(sqrt(-1)*i*I-A)*B+D];
end
length(m1)
w2=0.1:1:1000; m2=[];
for i=w2,
m2=[m2; C*inv(sqrt(-1)*i*I-A)*B+D];
end
length(m2)
mysum = 0; i=1;
while (i<=100),
mysum=mysum+i; i=i+1;
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -