ch11_e.m
来自「线性调频信号通过匹配滤波器的程序 还有一些simulink仿真模型」· M 代码 · 共 17 行
M
17 行
% Run the inverted pendulum simulationopts = simset('InitialState',[0,0,0,0,0],'Solver','ode45') ;[t,x] = sim('sysmdl_i',[0:0.1:10],opts) ;% Plot the position and pendulum anglesubplot(2,1,1);plot(t,x(:,1));grid;ylabel('x');subplot(2,1,2);plot(t,x(:,4));grid;xlabel('Time (sec)') ;ylabel('theta');
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?