comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Matlab to IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Matlab to IDL [message #49272 is a reply to message #36627] Mon, 10 July 2006 10:09 Go to previous messageGo to previous message
btt is currently offline  btt
Messages: 345
Registered: December 2000
Senior Member
Paul Van Delst wrote:
> KRDean@gmail.com wrote:
>> One of my colleagues dumped some Matlab code on my desk and gave me a
>> choice, learn MatLab or rewrite it in IDL.
>
> If the dumped code came with an accompanying matlab license, I would
> vote for learning Matlab.... and along the way of that, rewriting the
> code in IDL. Having another tool in the toolbox can only help with
> writing code in IDL.
>>
>> Of course, my first choice would be to rewrite it in IDL.
>>
>> Most of the code is straight forward, but how would I write this
>> MatLab statement in IDL?
>>
>> # -- MatLab Code
>> # -- ASSUMES THE YEAR IS THE SAME
>>
>> months_differ = month_beg ~= month_end
>
> ~= is the "not equal to" relational operator (NE in IDL).
>

Hello,

I think Paul has it, but the ~= is described below (kind of) under the
short circuit logical operators.

http://www.mathworks.com/access/helpdesk/help/techdoc/matlab _prog/

I am just learning Java so my well entrenched IDL syntax combined with
the little I know from c and MatLab are enough to put me waaay over the
edge. Now I know where the cartoon-esque !@#$%!@*# comes from.

Cheers,
ben
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDLWAVE Mac OS X
Next Topic: Tutorial: Using idl in java applications

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 09:31:05 PDT 2025

Total time taken to generate the page: 0.87900 seconds