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

4 vues (au cours des 30 derniers jours)
anshuman mishra
anshuman mishra le 30 Juil 2019
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

Réponse acceptée

madhan ravi
madhan ravi le 30 Juil 2019

Plus de réponses (0)

Catégories

En savoir plus sur Matrices and Arrays dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by