Borrar filtros
Borrar filtros

Convert Cell to Number for Plotting

5 visualizaciones (últimos 30 días)
Amanda
Amanda el 24 de Abr. de 2013
I have 2 cell arrays of data that I'm trying to convert to a numerical value and plot. The cell array output is:
a = '1'
'2'
'3'
b = '1'
'2'
'3'
plot(a,b)
I have tried cell2mat but I received an error.
Thanks, Amanda

Respuesta aceptada

Jonathan Sullivan
Jonathan Sullivan el 24 de Abr. de 2013
help str2double
doc str2double

Más respuestas (0)

Categorías

Más información sobre Data Type Conversion en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by