ASCII multiplication returns array of numbers
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Can someone explain why 'abc'.*'xyz' return an array of numbers
0 commentaires
Réponses (1)
James Tursa
le 15 Avr 2020
The characters are converted to double values (ASCII code numbers) and then multiplied. That is the way the * operator works for character inputs.
0 commentaires
Voir également
Catégories
En savoir plus sur Logical dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!