How to change numeric wave to text wave, and how to change a text wave to numeric wave?

for example, if I already generated a numeric wave with values in it and I want to make it a text wave so that I can add text to it, is that possible? and how?

many thanks.
Assuming both the numeric wave nwave and the text wave twave exist and are the same dimensions, a simple conversion might be ...

twave = num2str(nwave[p])


See the caveats for num2str and equivalents. Other options may be required depending on the precision you desire in the conversion.

--
J. J. Weimer
Chemistry / Chemical & Materials Engineering, UAHuntsville