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

조회 수: 1 (최근 30일)
sarfudeen
sarfudeen 2013년 3월 31일
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에서 Cell Arrays에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by