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

Home » Public Forums » archive » Where.. Then Loop IDL help
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Where.. Then Loop IDL help [message #93771] Thu, 13 October 2016 21:39 Go to previous message
smnadoum is currently offline  smnadoum
Messages: 24
Registered: June 2016
Junior Member
Hi,

I am new to IDL world, and was wondering if you can help me create a loop.

I need to create an array by replacing all values in 'a' that are greater than 5 by 20.

c= where(a gt 5) then [c] = 20

Is this the correct way to do it?

Thanks
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: coregistering images - help needed
Next Topic: Mac Yosemite X Window Display

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

Current Time: Wed Oct 08 09:18:22 PDT 2025

Total time taken to generate the page: 0.00417 seconds