Steven - Welcome to PDL. I hope you find it useful and up to your needs. You may find the guide for Matlab users to be particularly helpful: http://pdl.perl.org/?docs=MATLAB&title=PDL::MATLAB. We also welcome any suggestions for improvement (such as perhaps adding a note about Matlab's "load" and PDL's "rcols").
For general how-to questions about PDL, you can get immediate feedback on the pdl irc channel, which is irc.perl.org#pdl. If you're not familiar with irc, simply follow this link<http://www.mibbit.com/chat/?url=irc://irc.perl.org/pdl>, choose a user name, and start chatting. The next fastest place for helpful information is, as you already guessed, the mailing list. The most comprehensive introduction to PDL is the brand-new PDL book. The table of contents as well as a link to download the pdf are here: http://pdl.perl.org/content/pdl-book-toc.html In addition to the on-machine docs that Chris pointed out, you can read the documentation for rcols online here: http://pdl.perl.org/?docs=IO/Misc&title=PDL::IO::Misc#rcols. I made a similar switch from Matlab to Perl about five years ago and have been very happy with it. I was not happy with Matlab as a general-purpose programming language, the PDL+Perl turned out to be a great fit for my needs. Good luck, and let us know if you need more help! David On Wed, May 2, 2012 at 12:35 PM, Chris Marshall <[email protected]>wrote: > See the rcols command. "pdldoc rcols" at the command line or > "help rcols" in a PDL shell (either perldl or pdl2). > > On Wed, May 2, 2012 at 1:13 PM, Troxel, Steven O CIV NSWCCD Bayview, > 7332 <[email protected]> wrote: > > New to PDL but looking for a way to replace Matlab > > > > I was searching for the Matlab equivalent of the "load" command which > loads rows of space delimited ASCII text into a vector. That is: > > > >>load mydata.txt > > > > # mydata now holds a vector > >>mydata > > > > I know I could easily write one but I was wonder if one was already > present. > > > > > > > > > > _______________________________________________ > > Perldl mailing list > > [email protected] > > http://mailman.jach.hawaii.edu/mailman/listinfo/perldl > > _______________________________________________ > Perldl mailing list > [email protected] > http://mailman.jach.hawaii.edu/mailman/listinfo/perldl > -- "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." -- Brian Kernighan
_______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
