... ... ... ...

20 views (last 30 days)
MatLaBGuYSomewhere
MatLaBGuYSomewhere on 26 Oct 2018
Edited: MatLaBGuYSomewhere on 8 Oct 2025 at 9:53
This question was flagged by DGM

Accepted Answer

Bruno Luong
Bruno Luong on 26 Oct 2018
Edited: Bruno Luong on 26 Oct 2018
Not sure what is your expectation, and intention but shooting on the dark, try to replace
c = c./max(c);
with
c = c./max(c(:));
  1 Comment
Bruno Luong
Bruno Luong on 26 Oct 2018
Please accept the answer if it resolves your question. Thanks

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!