Borrar filtros
Borrar filtros

LS method in idetification ,control engeeniring

3 visualizaciones (últimos 30 días)
saeed
saeed el 12 de Mayo de 2024
Comentada: saeed el 12 de Mayo de 2024
Hi,how are you?I have problem with that code,is about LS method with ARX model in identification,I should use xcorr command for EPS variable to compare it that how much is near to white noise ?
  4 comentarios
saeed
saeed el 12 de Mayo de 2024
Editada: Sam Chak el 12 de Mayo de 2024
clc, clear, close all, N=100; e=100*randn(1,N); x=1:N; a2=0.5; a1=1; a0=2; y=a2*x.^2+a1*x+a0+e; plot(x,y,'Linewidth',2); phi=ones(N,1); Y=y'; theta_hat=phi./Y; Y_hat=phi.*theta_hat; Eps=Y-Y_hat; V0=Eps'*Eps/2; hold on, plot(x,Y_hat,'LineWidth',2); clear phi theta_hat
saeed
saeed el 12 de Mayo de 2024
How can I compare Eps with e by xcorr command to know that error is atleast near to white noise

Iniciar sesión para comentar.

Respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by