how can I extract from iddata to matrix to have calculation? pe function

load dryer2
data=iddata(y2,u2,1);
sys=arx(data,[3 3 1])
err=pe(sys,data);
pe(sys,data);
Now it plots the errors. but i want to extract that errors to one array like matrix "err" to do calculation on it. for example find absolute sum of them
thanks

Answers (0)

Asked:

on 5 Jan 2013

Community Treasure Hunt

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

Start Hunting!