why i'm getting this error
显示 更早的评论
Hi all, i'm trying to use a loop to store the impulse of the systems but I'm getting the following error: Unable to perform assignment because the indices on the left side are not compatible with the size of the right side.
also there are two warnings for y(n) and t(n) that say: the variables appear to change size on every loop iteration
for n = 1:4
[y(n), t1(n)] = impulse(sys(n));
end
any help would be appreciated. thanks
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Matrix and Vector Construction 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!