A mix of rlNumericSpec and rlFiniteSetSpec objects - observation for a RL environment
7 ビュー (過去 30 日間)
古いコメントを表示
Krupa Prag
2021 年 1 月 1 日
コメント済み: Mohammed Mohammed
2023 年 12 月 3 日
I am looking for an example of which implements a mix of rlNumericSpec and rlFiniteSetSpec object in an RL environment (as mentioned here). Some of my observations are numerical/continuous whereas others are finite/discrete.
Thanks.
0 件のコメント
採用された回答
Emmanouil Tzorakoleftherakis
2021 年 1 月 4 日
Hi Krupa,
I don't think there is an example that shows how to do that in the documentation right now - I will let the doc team know.
I think something along the following lines should work:
obsInfoCont = rlNumericSpec([2 1])
obsInfoDisc = rlFiniteSetSpec([1 2 3])
obsInfo = [obsInfoCont obsInfoDisc]
5 件のコメント
Mohammed Mohammed
2023 年 12 月 3 日
what should i use if i have this 2 by 2 matrix
R0 = [cos(psi0)*cos(theta0) -sin(psi0)*cos(theta0)+cos(psi0)*sin(theta0)*sin(phi0);
sin(psi0)*cos(theta0) cos(psi0)*cos(theta0)+sin(psi0)*sin(theta0)*sin(phi0)];
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!