필터 지우기
필터 지우기

who knows how to convert double to cell so i can get a 2D plot ?

조회 수: 4 (최근 30일)
marie
marie 2013년 5월 6일
2 variables in my workspace: data (petrolium prices; <7428x1 double>) and tm (time vector; from 1830to 2013; <7425x1 cell>)
question: how can I plot in x axe 'tm' and in y 'data' ,I am gettinh the msg
" Error using ==> plot
Conversion to double from cell is not possible" ,
i guess i need to know how to convert a double to cell array!
  댓글 수: 3
marie
marie 2013년 5월 6일
first date 17/05/1983 to 22/02/2013 , daily!
Walter Roberson
Walter Roberson 2013년 5월 6일
편집: Walter Roberson 2013년 5월 6일
In string form or in numeric form? What is
class(tm{1})
size(tm{1})

댓글을 달려면 로그인하십시오.

답변 (1개)

Babak
Babak 2013년 5월 6일
편집: Babak 2013년 5월 6일
mat2cell()
cell2mat()

카테고리

Help CenterFile Exchange에서 Annotations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by