WICHTIG: Der Betrieb von goMatlab.de wird privat finanziert fortgesetzt. - Mehr Infos...

Mein MATLAB Forum - goMatlab.de

Mein MATLAB Forum

 
Gast > Registrieren       Autologin?   

Partner:




Forum
      Option
[Erweitert]
  • Diese Seite per Mail weiterempfehlen
     


Gehe zu:  
Neues Thema eröffnen Neue Antwort erstellen

Linearizing a Neural Network

 

MRE
Forum-Newbie

Forum-Newbie


Beiträge: 1
Anmeldedatum: 21.10.16
Wohnort: ---
Version: ---
     Beitrag Verfasst am: 21.10.2016, 07:35     Titel: Linearizing a Neural Network
  Antworten mit Zitat      
I have created a Neural Network and obtained its block in Simulink. I would like to linearize it in order to be able to use it later in PID Tuner.

I try to do this linearization by means of the Linear Analysis Tool. However, I am having problems when setting the operating point (whether by trying to trim the model or by taking a simulation snapshot) because I do not understand well how it works. I have set the 2 inputs in Simulink as Open-Loop Inputs and the output as Open-Loop Output.

In case of taking a simulation snapshot: How can I choose the correct time in which I should take the snapshot?

In case of trimming: I do not obtain neither States nor Inputs nor Outputs to trim. When I click on Operating Point>Create New Operating Point>Trim Model it says that 'The Model does not have any Inputs, Outputs, states'. I have also tried to do this by using code, but I still have Problems when Setting the Operation Points. I set the Inputs and Outputs and compile the Simulink model, but then when I use 'findop' there are neither states nor Inputs and I get an error saying 'There are no free variables to optimize. Free either a state or an input.'.
How can I create/find operating Points?

Code:
% Das ist mein Programm
>> sim1

Model Compilation for sim1 successful.

>> sim1_io(1)=linio('sim1/From Workspace',1,'input');

>> sim1_io(2)=linio('sim1/NN',1,'output');

>> setlinio('sim1',sim1_io);

>> sim1

>> opsim = findop('sim1',1)

   Operating Point for the Model sim1.
   (Time-Varying Components Evaluated at time t=1)
States: None
----------

Inputs: None
----------
>> opspec=operspec('sim1');

>> opspec=operspec('sim1');

>> opspec=initopspec(opspec,opsim);

>> opss=findop('sim1',opspec);

There are no free variables to optimize.  Free either a state or an
input.
 


How can I create operating Points?

Is there another way of importing my Neural Network Simulink block into PID Tuner?
Private Nachricht senden Benutzer-Profile anzeigen


Neues Thema eröffnen Neue Antwort erstellen



Einstellungen und Berechtigungen
Beiträge der letzten Zeit anzeigen:

Du kannst Beiträge in dieses Forum schreiben.
Du kannst auf Beiträge in diesem Forum antworten.
Du kannst deine Beiträge in diesem Forum nicht bearbeiten.
Du kannst deine Beiträge in diesem Forum nicht löschen.
Du kannst an Umfragen in diesem Forum nicht mitmachen.
Du kannst Dateien in diesem Forum posten
Du kannst Dateien in diesem Forum herunterladen
.





 Impressum  | Nutzungsbedingungen  | Datenschutz | FAQ | goMatlab RSS Button RSS

Hosted by:


Copyright © 2007 - 2024 goMatlab.de | Dies ist keine offizielle Website der Firma The Mathworks

MATLAB, Simulink, Stateflow, Handle Graphics, Real-Time Workshop, SimBiology, SimHydraulics, SimEvents, and xPC TargetBox are registered trademarks and The MathWorks, the L-shaped membrane logo, and Embedded MATLAB are trademarks of The MathWorks, Inc.