Create a vector of strings
Mostrar comentarios más antiguos
I need to convert a vector of doubles 64x1 to strings by converting them to hex values. I tried allocating a cell
x = cell(64,1)
for hh = 1:64
hex_results(hh,:) = dec2hex(results(hh,:));
end
but the error....
??? Conversion to cell from char is not possible.
keeps popping up. Is there a better way to do this?
Thanks
1 comentario
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Data Type Conversion en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!