nlarx is not working at all
11 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposta accettata
Star Strider
il 28 Mar 2023
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 Commenti
Nikolas Anastasiadis
il 11 Mar 2024
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
il 11 Mar 2024
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.
.
.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Linear Model Identification in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!