필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

i want find specific vector in vector group. help me

조회 수: 1 (최근 30일)
kanae
kanae 2014년 11월 17일
마감: MATLAB Answer Bot 2021년 8월 20일
hi,im working on my Q learning in matlab. i setup grid world and there is wall. and i want find the state that crushing wall.
whole state is 10x10 grid world current states is S=[x y] and state of wall is [2 4].[2 7],[3 5],[3 7]
i want know that how can i find this S=[x y] is in state of wall or not.
for example, '' if S is in state of wall, output is 1 or someting''and after knowing this, i can set up my reward value.
please help me. 

답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by