How can i convert array a= [1 0 -2] in a char b = '1 0 -2' ?

1 view (last 30 days)
I have to convert an array in a string of character.
e.g. I have a = [1 0 -2] and i want obtain b = '1 0 -2'.
Thanks

Answers (1)

Torsten
Torsten on 19 May 2022

Categories

Find more on Data Type Conversion in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!