Output of [~,IDX] = max(...) not in DOUBLE but in INT.
6 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!