how to place zeros instead of blanks in array
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
MAHMOUD ALZIOUD
am 7 Dez. 2017
Kommentiert: MAHMOUD ALZIOUD
am 7 Dez. 2017
hello everyone, i have a char array of size 358695x3, that is 358695 rows and it is called B, when i write the following code str2num(B) I just have 7000 rows in the output, i found out that B has alot of blanks [] in it so i cannot use str2num, what is the way to fill those blanks in B with zeros please? so i have 358695 rows when i do the str2num on it. help please
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Loops and Conditional Statements finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!