How add to 1 to the 1st element of array?

4 views (last 30 days)
given array A=[ 0 1 1 0 1 1]
my required output: A= [ 1 1 1 0 1 1]
it should remove the 1st element in initial array and place 1 there

Accepted Answer

madhan ravi
madhan ravi on 30 Jul 2019

More Answers (0)

Categories

Find more on Matrices and Arrays 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!