ASCII multiplication returns array of numbers
Mostra commenti meno recenti
Can someone explain why 'abc'.*'xyz' return an array of numbers
Risposte (1)
James Tursa
il 15 Apr 2020
0 voti
The characters are converted to double values (ASCII code numbers) and then multiplied. That is the way the * operator works for character inputs.
Categorie
Scopri di più su Data Type Conversion in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!