What is the function of find()
Show older comments
Can anyone help me understanding the below code?
n_actions = find(reward(cs,:)>0);
Where 'reward' is a matrix. For example,
reward = [1 2 3; 3 4 5; 5 6 7]; cs = 1;
Thank you
Accepted Answer
More Answers (0)
Categories
Find more on Environments in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!