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

4 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

madhan ravi
madhan ravi il 30 Lug 2019

Più risposte (0)

Categorie

Scopri di più su Matrices and Arrays in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by