Skip to content
Prev 164619 / 398502 Next

The end of Matlab

That depends on what you want evens() & last(5) to mean.  Does that mean the last 5 evens (returning 5 values) or the values in the last 5 that are also even items (returning either 2 or 3 values depending on if the structure has an odd or even number of elements).  It could be interpreted either way.  Your subset below does the first, the other examples do the 2nd.

--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.snow at imail.org
801.408.8111

Thread (35 messages)

Mike Rowe The end of Matlab Dec 11 Gabor Grothendieck The end of Matlab Dec 11 Gabor Grothendieck The end of Matlab Dec 11 Duncan Murdoch The end of Matlab Dec 11 Wacek Kusnierczyk The end of Matlab Dec 12 Brian Ripley The end of Matlab Dec 12 Duncan Murdoch The end of Matlab Dec 12 Wacek Kusnierczyk The end of Matlab Dec 12 Claudia Beleites The end of Matlab Dec 12 Patrick Burns The end of Matlab Dec 12 Wacek Kusnierczyk The end of Matlab Dec 12 Hadley Wickham The end of Matlab Dec 12 Claudia Beleites The end of Matlab Dec 12 Wacek Kusnierczyk The end of Matlab Dec 12 Duncan Murdoch The end of Matlab Dec 12 Wacek Kusnierczyk The end of Matlab Dec 12 Gabor Grothendieck The end of Matlab Dec 12 Claudia Beleites The end of Matlab Dec 12 Claudia Beleites The end of Matlab Dec 12 Wacek Kusnierczyk The end of Matlab Dec 12 Greg Snow The end of Matlab Dec 12 Hadley Wickham The end of Matlab Dec 12 Vitalie S. The end of Matlab Dec 12 Duncan Murdoch The end of Matlab Dec 12 Hadley Wickham The end of Matlab Dec 12 Gabor Grothendieck The end of Matlab Dec 12 Hadley Wickham The end of Matlab Dec 12 Duncan Murdoch The end of Matlab Dec 12 Hadley Wickham The end of Matlab Dec 12 Duncan Murdoch The end of Matlab Dec 12 Claudia Beleites The end of Matlab Dec 12 Greg Snow The end of Matlab Dec 12 Hadley Wickham The end of Matlab Dec 12 Vitalie S. The end of Matlab Dec 12 Hadley Wickham The end of Matlab Dec 12