load AR dynamics parameter and make currebt prediction [Jpred, Vindex, input] = load_ar_dynamics_icbm(arfile, input) 2015-5-25 Masa-aki Sato Copyright (C) 2011, ATR All Rights Reserved. License : New BSD License(see VBMEG_LICENSE.txt)
0001 function [Jpred, Index_orig, omega] = load_ar_dynamics_icbm(arfile, input) 0002 % load AR dynamics parameter and make currebt prediction 0003 % 0004 % [Jpred, Vindex, input] = load_ar_dynamics_icbm(arfile, input) 0005 % 0006 % 2015-5-25 Masa-aki Sato 0007 % 0008 % Copyright (C) 2011, ATR All Rights Reserved. 0009 % License : New BSD License(see VBMEG_LICENSE.txt) 0010 0011 load(arfile,'MAR','Delta','omega','Index_orig') 0012 0013 if nargin==2 0014 omega = input; 0015 end 0016 0017 % Predicted currents (Output of the system with the input 'omega') 0018 [Jpred] = forward_prediction(MAR, Delta, omega); 0019 0020 % Index_orig correspond to Jpred