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];

Answers (0)

This question is closed.

Products

Tags

Asked:

on 9 Feb 2018

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!