利用matlab求解车辆跟驰模型,车辆跟驰模型考虑前n matlab的更新规则出现问题

如下错误

The size of the indicated variable or array appears to be changing with       each loop iteration. Commonly, this message appears because an array is       growing by assignment or concatenation. Growing an array by assignment       or concatenation can be expensive. For large arrays, MATLAB must       allocate a new block of memory and copy the older array contents to the       new array as it makes each assignment.

Programs that change the size of a variable in this way can spend most       of their run time in this inefficient activity. There is also       significant overhead in shrinking an array on each iteration or in       changing the size of a variable on each iteration. In such cases, MATLAB       must reallocate and copy the contents repeatedly.

For scripts, M-Lint cannot determine whether the array was preallocated       before the script was called. Depending on your use of scripts, you       might want to enable or disable this message independently of the       related message (with message ID AGROW) that applies to functions and       class methods.

2013-5-11 08:16 上传

442a53943febe9465fc072b4fbe10813.gif

b2a5a3e0dcc7d508e00275fe42fce1b5.gif

这个更新规则出现问题

649f40c046a96b3fced20d573f2bdf24.png

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值