Output of [~,IDX] = max(...) not in DOUBLE but in INT.
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
Voir également
Catégories
En savoir plus sur MATLAB Coder dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!