On Tue, Nov 10, 2009 at 10:34 AM, Avishalom Shalit <[email protected]> wrote:
> short comments
> -- vish
>
>
> 2009/11/10 David Mertens <[email protected]>
>>
>> Gabor -
>>
>> I felt like many of your questions deserved their own response, so I'm
>> going to send a few emails in a row addressing various questions you pose.
>> First, this:
>>
>>> Could you give use cases where a clever Matlab user would run a perl
>>> script to solve a problem more easily or faster than with standar Matlab
>>> tools?
>>
>> By clever Matlab user do you mean clever Perl user?  Or clever Matlab
>> user?  I think a clever Matlab user could write a Perl script to digest a
>> bunch of data and spit-out a csv file that Matlab could easily read and
>> process.  I can't speak from experience on this one.
>
> well i don't know about clever , but i am lazy

well the word "clever" was not a good clever choice on my part :-)

> but practically
> a file that looks like
> 2009-09-08 12:34:56 , 0 , 1,2,3,4 , "some text i don't want to read"
> 2009-09-08 12:34:56 , NULL, 1,2,3,4 , "some text i don't want to read"
>
> can be read in matlab using regex or fscanf (and is as much fun as it is in
> C)
>
> in perl it is a one liner.
> so i first process the file in perl , and transform it to numbers. (i
> sometimes just leave the dates as 2009 09 08 12 34 56)

that's what I meant and I'd like to get a few more examples
if there are.

Gabor

_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to