採用された回答

Geoff Hayes
Geoff Hayes 2015 年 4 月 7 日

1 投票

Sushma - what are the elements of your cell array? If all of them are numeric arrays, then you could use cellfun to multiply each element in the cell array by 100. For example,
% create some random data
myCellData = cell(1,4);
myCellData{1} = randi(255,12,3);
myCellData{2} = randi(255,3,12);
myCellData{3} = randi(255,1,23);
myCellData{4} = randi(255,32,1);
% multiply each element by 100
newCellData = cellfun(@(x)100*x, myCellData,'UniformOutput',false);
Try the above and see what happens!

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Structures についてさらに検索

質問済み:

2015 年 4 月 7 日

回答済み:

2015 年 4 月 7 日

Community Treasure Hunt

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

Start Hunting!

Translated by