From: Michael on
Is there a way to initialize several arrays to zero?

For instance:
uas=zeros(1,3);
vas=zeros(1,3);
vbs=zeros(1,3);
or
ua=cell(1,4);
va=cell(1,4);
vb=cell(1,4);

in this example, there are only two sets of three arrays but say if I had several more.
From: Matt J on

[uas,vas,vbs]=deal(zeros(1,3));
[ua,va,vb]=deal(cell(1,4));