From: Matt Fig on
"shahnaz fatima" <shahnaz1981fat(a)gmail.com> wrote in message <i0q834$svi$1(a)fred.mathworks.com>...
> can u tell me what does A(2:2:end) = [] mean?
> how can i ask help for that in matlab.

A(2:2:end) Means this: Start with the second element and include every other element after that until the end of the array is reached. docsearch('linear indexing')

= [] Means this: Set the elements which were addressed on the left hand side to empty arrays. Setting an element to empty basically means to delete it. docsearch('empty')