File Exchange

image thumbnail

System Identification using GA with a GUI interface

version 1.1 (15 KB) by

Idnetifying ARX model of a system using Genetic Algorithms with a GUI interface and compare it to Le

4.66667
3 Ratings

8 Downloads

Updated

View License

This code identifies an ARX model of a system using Genetic Algorithms method in a GUI interfcae and compares the identified model with the model generated using the Least Error method.
The real system O/P, GA model generated O/p and Least Error model O/P are all compared in a single plot, while the Sum of Absolute Error is calculated and displayed for both models for comparison.

GA parameters are initialized with default parameters, but could easily be modified from the GUI interface.

The GUI is initialized with a ready I/P and O/P data and ARX orders as well, so you can hit "Estimate Model" to test the code without having to generate I/O data. (you can replace this data with your own)

Comments and Ratings (4)

Islam

Islam (view profile)

Can I use the GUI with 2014a
When I tried it I get the following error:
Attempt to reference field of non-structure array.

Error in identga>estimate_Callback (line 93)
if get(handles.estimate, 'value') == get(handles.estimate, 'max');

Error in gui_mainfcn (line 95)
feval(varargin{:});

Error in identga (line 48)
gui_mainfcn(gui_State, varargin{:});

Error while evaluating uicontrol Callback

asad asad

i have a question about this code..what is the type of selection method used here ??

Oriol Soto

great work, excellent for explaining the use of GA in a simple, yet interesting application.
Also a very good and intuitive GUI.

Nikos Nikolas

Updates

1.1

Now available in Toolbox format.

MATLAB Release
MATLAB 7.2 (R2006a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video