Using octave I want to split a string into its individual characters.
How do I do this?
For example converting
x = "hello"
to
c = [h, e, l, l, o]
Thanks in advance for the help
It's already split in Matlab's string actually:
x = 'hello'
x(1)
>> h
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.