Find property of InputNonLineraity with idPiecewiseLinear with 0 Number of Units on idnlhw
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi,
I Have estimate an Hammerstein-Wiener models with idnlhw. I have use for the non linearity input an idPiecewiseLinear like this :
InputNonlinearity=idPiecewiseLinear;
InputNonlinearity.NumberOfUnits = 0;
OutputNonlinearity=idPiecewiseLinear;
OutputNonlinearity.NumberOfUnits = 40;
sys1 = nlhw(data1, [1 1 3], InputNonlinearity, OutputNonlinearity);
I need to know the slope of my non-linear inlet :
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1509559/image.png)
But in the workspace with 0 Number of units I can't know my slope :
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1509564/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1509569/image.png)
If someone know to extract some data to know my input you can help me a lot.
Thanks.
0 comentarios
Respuestas (1)
Tianyu
el 18 de Oct. de 2023
The slope is not a public property. You can access this using the internal command:
>> p = getInternalParameters(sys1.InputNonlinearity);
>> slope = p.LinearCoef;
Please be aware that this internal command is not documented and may change its usage in the future.
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!