How to cover a cell array to mat?
Show older comments
Hi all, I have a 1x6 cell array {Vg} that contain different array size as the attached.

I would to cover it to mat, and I use the statement "cell2mat", it always show Error using CAT as the attached.

Have any methods to solve this problem? Thank you.
Vg={};
for i=0:2:10
y=Rawdata(:,2+i);
y_data=find(y>0.93e-9 & y<1.9e-9);
Vg=[Vg x(y_data)];
end
Vg_data=cell2mat(Vg);
Accepted Answer
More Answers (0)
Categories
Find more on 元胞数组 in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!