Cell array to image

2 views (last 30 days)
sazzad hossen
sazzad hossen on 27 May 2014
Commented: sazzad hossen on 27 May 2014
i have a data which is cell array
x_error=41 X 41 Cell
i want to create an image by using this cell array value is this possible
  4 Comments
Jos (10584)
Jos (10584) on 27 May 2014
What does the contents of each cell look like? And what does it represent?
sazzad hossen
sazzad hossen on 27 May 2014
Daer Mr. Jos,
i attached my data file below could you please tell me how can i get an image or graph ( separate or a combined )

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 27 May 2014
To stitch together two images, each of which is inside a cell, do this:
wideImage = [ca{1}, ca{2}]; % Stitch together horizontally.
tallImage = [ca{1}; ca{2}]; % Stitch together vertically.
See the FAQ: http://matlab.wikia.com/wiki/FAQ#What_is_a_cell_array.3F for a good discussion of cell arrays.
  1 Comment
sazzad hossen
sazzad hossen on 27 May 2014
Edited: sazzad hossen on 27 May 2014
Dear Image Analyst,
Hope you are fine. Previously you helped me a lot, hope this time you also give me a good solution, as you give always.
my data file is attached here. how can i get e image or graph from this value. using combined or separately graph or image

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!