meancell
Version 1.0.0.0 (1.58 KB) by
Rodolfo Alatorre
the program obtain the mean row from a cell of different lengths
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 (2024). meancell (https://www.mathworks.com/matlabcentral/fileexchange/37220-meancell), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2006a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Cell Arrays in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |