who knows how to convert double to cell so i can get a 2D plot ?
3 views (last 30 days)
Show older comments
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 Comments
Walter Roberson
on 6 May 2013
Edited: Walter Roberson
on 6 May 2013
In string form or in numeric form? What is
class(tm{1})
size(tm{1})
See Also
Categories
Find more on Annotations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!