meancell

the program obtain the mean row from a cell of different lengths

You are now following this Submission

We can obtain the row mean with different cell lengths in the data.

% Example:
%A=rand(2,1)*10;
%B=rand(2,1)*10;
%C=rand(30,1)*10;
%D=rand(30,1)*10;
%E=rand(5,1)*10;
%all{1,1}=A;
%all{1,2}=B;
%all{1,3}=C;
%all{1,4}=D;
%all{1,5}=E;
%mean_row_cell =meancell(all)
% retrieve the cell with each row mean into the matrix mean_row_cell

Cite As

Rodolfo Alatorre (2026). meancell (https://www.mathworks.com/matlabcentral/fileexchange/37220-meancell), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0