to divide two cell arrays with each cell array containing one column

2 次查看(过去 30 天)
to divide two cell arrays with each cell array containing one column

回答(1 个)

the cyclist
the cyclist 2013-3-31
You do not provide quite enough detail, but I will make a guess at what you are trying to do.
If your cell arrays look like this:
% Here are some pretend data
C1 = {rand(3,1)};
C2 = {rand(3,1)};
Then you could divide those two columns like this:
C1{:}./C2{:}
There are also other approaches, and the best one may depend on what you want the output to look like.

类别

Help CenterFile Exchange 中查找有关 Use COM Objects in MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by