nlarx is not working at all
8 次查看(过去 30 天)
显示 更早的评论
Hello,
I have tried to excute the example code named "Estimate Nonlinear ARX Model" for nlarx (Estimate parameters of nonlinear ARX model - MATLAB nlarx - MathWorks France) but the nlarx command is not working. The error message is the following: "too many inputs). I've tried to reduced the size of the data set but it has not worked....
Could you please help me? I don't understand why the example code isn't running correctly....
Thanks,
Elodie
0 个评论
采纳的回答
Star Strider
2023-3-28
Check to see if you have another function (or something else) with the same name.
To do that, run this:
which nlarx -all
from your Command Window or a script.
The correct result should be something like this:
which nlarx -all
If it returns anything else, that will point to the problem.
Meanwhile, that example works here —
load twotankdata;
Ts = 0.2;
z = iddata(y,u,Ts);
sysNL = nlarx(z,[4 4 1])
sysL = arx(z,[4 4 1]);
figure
compare(z,sysNL,sysL)
.
4 个评论
Nikolas Anastasiadis
2024-3-11
Hi!
I have a similar problem, but nothing seems to have the same name in the workspace.
I tried what you suggested and I still get this:
Any idea for where the problem might be?
Star Strider
2024-3-11
You obviously have the function, and the call looks to me to be correct.
I have no ideas what the problem is, so it would be best for you to Contact Support and include the URL of your Comment here in your note to them.
.
.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Linear Model Identification 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!