필터 지우기
필터 지우기

Plotting elements in a cell array

조회 수: 3 (최근 30일)
Gova ReDDy
Gova ReDDy 2014년 4월 9일
답변: Azzi Abdelmalek 2014년 4월 9일
Hello,
can someone explaine me how to plot the elements in the cell array as attached.
thanks.

답변 (2개)

Dishant Arora
Dishant Arora 2014년 4월 9일
data = cellfun(@str2double, str, 'Un', 1);
plot(data)

Azzi Abdelmalek
Azzi Abdelmalek 2014년 4월 9일
load str;
data=cellfun(@str2num,str);
plot(data)

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by