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

4 次查看(过去 30 天)
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

采纳的回答

madhan ravi
madhan ravi 2019-7-30

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Matrices and Arrays 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by