How add to 1 to the 1st element of array?
5 views (last 30 days)
Show older comments
anshuman mishra
on 30 Jul 2019
Answered: madhan ravi
on 30 Jul 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
0 Comments
Accepted Answer
More Answers (0)
See Also
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!