How to split this arrays?

Hello! Everybody~ Here is Example for my question!
a = [0 0 1 0 0 0 0 1 0 0 0 0 0 0 1];
Like the image above, I wanna split this array for including another values.
%
b = [0 0 1];
c = [0 0 0 0 1];
d = [0 0 0 0 0 0 1];

回答(0 个)

此问题已关闭。

产品

标签

关闭:

2021-8-20

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!