can someone help me with closeloop narx?
1 次查看(过去 30 天)
显示 更早的评论
% Importación de datos%
xlsread p xlsread t
p1 = p 't1 = t'
inputSeries tonndata = (pn, true, false); targetSeries = tonndata (tn, true, false);
% Crea una Red autorregresivo lineal con entrada externa
net = narxnet (inputDelays, feedbackDelays, hiddenLayerSize);
% Preparación de los datos para la formación y Simulación [entradas, inputStates, layerStates, metas] = preparets (neto, inputSeries, {}, targetSeries);
Train% de la red [red, tr] = tren (neto, insumos, objetivos, inputStates, layerStates);
% Prueba de las salidas netas de red = (insumos, inputStates, layerStates); errors = gsubtract (objetivos, resultados);
okey, me levanto aquí
% Closed Loop Red Netc = closeloop (neto); [xc, xic, AIC, tc] = preparets (Netc, inputSeries, {}, targetSeries); yc = Netc (xc, xic, AIC);
Bien, ahora, para reiterar debo introducir (yc) en preparets función para simular de nuevo lazo cerrado? Como era de este comand? [Xc, xic, AIC, tc] = preparets (Netc, yc, {}, {});? porque los objetivos de ahora no tienen. Can someone help me?
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!