Output of [~,IDX] = max(...) not in DOUBLE but in INT.
6 views (last 30 days)
Show older comments
Hi together,
I want to output the index of the maximum value of max() not in double, but in int.
Is there an easy way to do this?
Because of interest, I want to generate C Code, thats why int format would be more efficent.
Thanks for your answer.
0 Comments
Answers (1)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!