Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: cellfun doesn't work ?
Replies: 5   Last Post: Jun 28, 2013 6:21 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Bruno Luong

Posts: 8,737
Registered: 7/26/08
Re: cellfun doesn't work ?
Posted: Jun 25, 2013 2:33 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"james bejon" wrote in message <kqcfq2$542$1@newscl01ah.mathworks.com>...

> % There are probably file exchange submissions that do the same thing much more elegantly

Yes:
http://www.mathworks.com/matlabcentral/fileexchange/29854

>> mcolon(X(:,1),X(:,2))

ans =

Columns 1 through 13

1 2 3 10 11 12 17 18 19 20 21 22 23

Columns 14 through 26

24 29 30 31 32 33 34 35 41 42 43 44 45

Columns 27 through 39

46 51 52 53 54 55 56 57 58 60 61 62 63

Columns 40 through 52

64 65 73 74 75 76 77 78 79 82 83 84 91

Columns 53 through 65

92 93 94 95 96 97 98 99 102 103 104 112 113

Columns 66 through 74

114 115 116 118 119 120 121 122 123

% Bruno



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.