From: Matt Fig on 4 Jul 2010 12:11 "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')
|
Pages: 1 Prev: ode113 counting integration steps Next: ttest2 with samples of unequal variance |