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

10 visualizaciones (últimos 30 días)
anshuman mishra
anshuman mishra el 30 de Jul. de 2019
Respondida: madhan ravi el 30 de Jul. de 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

Respuesta aceptada

madhan ravi
madhan ravi el 30 de Jul. de 2019
A(1) = 1

Más respuestas (0)

Categorías

Más información sobre Data Types en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by