saving a data

1 次查看(过去 30 天)
FIR
FIR 2012-3-29
I havea data as
g =
[1x4 double]
[1x5 double]
[1x4 double]
[1x4 double]
[1x4 double]
[1x5 double]
please tell how to the values in each and i want to store those values in G

采纳的回答

Jan
Jan 2012-3-29
FIR, please, you have written over 100 questions in this forum. You should have learned already that it is impossible to answer "tell how to the values in each". There is no chance that we guess the problems you have with storing those values in G. What about:
G = g;
Is g a cell or is the shown block a copy from a text file?
I do not see a connection between the posted information and the subject "saving a data".
Please, FIR, be more careful with your questions. Reading the current message is a waste of the time of all, who want to help voluntarily.
  1 个评论
FIR
FIR 2012-3-29
in g when i view in variable editor i have
[1,2,3,8],like these i have for values in g
i can view these values in variable editor and i know how to display it for ex
for i=1:length(g)
disp({g})
end
these values are displayed in command window ,now i want to save these variables in G

请先登录,再进行评论。

更多回答(1 个)

Image Analyst
Image Analyst 2012-3-29
I agree complete with Jan. So, tell us why did G=g not work. All the vectors inside your individual cells are a different size so it's not possible to stack them all into a 2D numerical display (unless you want to pad the smaller arrays so that they are the same size). Do you want to string them all together into a 1 by 26 vector? You must be more explicit so we don't waste time guessing around all the ambiguities in your message.
Also, there is a celldisp() function that you might want to use rather than disp().

类别

Help CenterFile Exchange 中查找有关 Whos 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by