Feeds
提问
Attempt to execute SCRIPT Reward as a function: V(m,n)= Reward([Tr(m); en(n)], actions(bestind)) + gamma*Vbest;
close all clear all clc load ('En1.mat') load ('Tr.mat') global en %Energy load state. global Tr %Indoor temp....
5 years 前 | 1 个回答 | 0
1
个回答提问
Attempt to execute SCRIPT Reward as a function: V(m,n)= Reward([Tr(m); en(n)], actions(bestind)) + gamma*Vbest;
close all clear all clc load ('En1.mat') load ('Tr.mat') global en %Energy load state. global Tr %Indoor temp....
5 years 前 | 1 个回答 | 0
1
个回答提问
Unrecognized function or variable 'Reward'. How to create reward function
V(m,n)= Reward([Tr(m); en(n)], actions(bestind)) + gamma*Vbest;
5 years 前 | 1 个回答 | 0
1
个回答提问
how to solve this: Unable to perform assignment because the size of the left side is 1-by-48 and the size of the right side is 0-by-0. How can I make the right side like the left side for this {u(1,:)=2*ON*abs(cns-action); }
clear all close all clc load ('En1.mat') load ('Tr.mat') global en %Energy load state. global Tr %Indoor temp....
5 years 前 | 1 个回答 | 0
1
个回答提问
Unable to perform assignment because the size of the left side is 1-by-48 and the size of the right side is 0-by-0. Error in model u(1,:)=2*ON*abs(cns-action);
clear all close all clc load ('En.mat') load ('Tr.mat') global en %Energy load state. global Tr %Indoor temp. ...
5 years 前 | 2 个回答 | 0
2
个回答提问
Unable to perform assignment because the size of the left side is 1-by-48 and the size of the right side is 0-by-0.
model(action) Unable to perform assignment because the size of the left side is 1-by-48 and the size of the right side is 0-by...
5 years 前 | 1 个回答 | 0
