Why do I receive an error when using the DEC2HEX function in MATLAB 7.0 (R14)?
Afficher commentaires plus anciens
When I type the following code:
dec2hex([[2,3,4];[7,8,9]])
I receive the following error:
??? Operands to the || and && operators must be convertible to logical
scalar values. Error in ==> dec2hex at 23 if ~isreal(d) || any(d < 0) ||
any(d ~= fix(d))
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Data Type Conversion dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!