How can I split an array?
显示 更早的评论
Hi everyone, how can I separate an array into several? For example, I have:
Vw=[2000x4] double
And I need:
Vw1=[2000x1] double
Vw2=[2000x1] double
Vw3=[2000x1] double
Vw4=[2000x1] double
...Thanks
回答(1 个)
Sulaymon Eshkabilov
2021-7-24
Vw1=Vw(:,1);
Vw2=Vw(:,2);
Vw3=Vw(:,3);
Vw4=Vw(:,4);
类别
在 帮助中心 和 File Exchange 中查找有关 Structures 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!