Matlab String (1000) conversion into (1 0 0 0)
Show older comments
Hy my question is that I have a string like x = 1000 I want to convert it into matrix like 1 0 0 0. Can you please guide me how to convert it.
Accepted Answer
More Answers (0)
Categories
Find more on Characters and Strings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!