|
楼主 |
发表于 2022-11-23 21:21:13
|
显示全部楼层
图片传不上去,,错误是错误使用 SD2 (第 79 行)
Initial state vector "X0" must be a real vector of length 3
对应的代码是 options=simset('InitialState', zeros(1,2), 'RelTol', 1e-3, 'MaxStep', 1/Fs);
sim('CIFFmodel', (N+Ntransient)/Fs, options); |
|