MATLAB Answers

RF - Create MATLAB Environment using Custom Functions - myResetFunction

5 views (last 30 days)
the User's Guide of Reinforcement Learning Toolbox (ver R2019b),
Page 2-49 - Page 2-50
when we defined reset function myResetFunction.m, LoggedSignal.State = [T0;Td0;X0;Xd0];
But when we defined step function myStepFunction.m, XDot = State(2); Theta = State(3); ThetaDot = State(4).
The LoggedSignal.State in myResetFunction.m seems should be [X0; Xd0; T0; Td0] ??

  0 Comments

Sign in to comment.

Accepted Answer

Emmanouil Tzorakoleftherakis
Hi Zhen,
I believe you are right - I have informed the documentation team about this.

  0 Comments

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!