Borrar filtros
Borrar filtros

Plotting elements in a cell array

3 visualizaciones (últimos 30 días)
Gova ReDDy
Gova ReDDy el 9 de Abr. de 2014
Respondida: Azzi Abdelmalek el 9 de Abr. de 2014
Hello,
can someone explaine me how to plot the elements in the cell array as attached.
thanks.

Respuestas (2)

Dishant Arora
Dishant Arora el 9 de Abr. de 2014
data = cellfun(@str2double, str, 'Un', 1);
plot(data)

Azzi Abdelmalek
Azzi Abdelmalek el 9 de Abr. de 2014
load str;
data=cellfun(@str2num,str);
plot(data)

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by