a = randi(50,600,9);mx = randi(50,60,1);mn = randi(50,60,1);b = reshape(a(:,7),10,[]).';q = bsxfun(@minus,b,mx);%q = bsxfun(@rdivide,q,mx-mn);
%q = reshape(q.',[],1);
How can I apply this code which has been designed for a matrix table to a cell array?
Imagine the following
a = { rand(6000,7); rand(3600,7); rand(600,7); };mx = {randi(50,600,1); randi(360,60,1); randi(50,60,1)} mn = {randi(50,600,1); randi(360,60,1); randi(50,60,1)}
Best Answer