image thumbnail

Identification by least square method

version 1.1.0.0 (1.42 KB) by Azzi Abdelmalek
Identification of Linear system, using a least square method.

1.6K Downloads

Updated 27 Jul 2012

View License

Given, input u and output y of linear system and it's order, the function find the Numerator N and Denominator D.
N,D]=mcar(u,y,n,k1,k2)
u : input signal of the system
y : Output signal of the system
n : système order
k1,k2 indices of the first value and the last of vector y.
[N,D]=mcar(u,y,n) the program allows to choose k1 and k2
Important: If the input signal is a constant or a system is instable, the result will be Nan. an idéal input is a random signal.

Cite As

Azzi Abdelmalek (2022). Identification by least square method (https://www.mathworks.com/matlabcentral/fileexchange/37631-identification-by-least-square-method), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!