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

Home » Public Forums » archive » Writing exp(-j*!pi) in 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
Writing exp(-j*!pi) in IDL [message #92518] Mon, 04 January 2016 01:08 Go to previous message
alghafisuct is currently offline  alghafisuct
Messages: 20
Registered: November 2014
Junior Member
Hi

I was trying to write a code and I have problem with the -j as the following in IDL

Phase = array_VV*conj(array_HH*exp(j*!pi/180))

Result_Phase = image(180/!pi*ATAN(Phase*exp(-j*Offset_degree/180*0)))

I had problem with defining the -j and j and do not know how to do it in IDL is there other way?

I'm trying the same thing in MATLAB as follow and it's working

Phase = array_VV*conj(array_HH*exp(j*pi*0))

imagesc(180/pi*angle(Phase*exp(-j*Offset_degree/180*pi)))

I guess I did not present j and -j and there is a way of doing it in IDL

Thanks
[Message index]
 
Read Message
Read Message
Previous Topic: FL ARMed!
Next Topic: How do I create a plot which looks something like a Matrix Plot in IDL ?

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

Current Time: Wed Oct 08 16:27:44 PDT 2025

Total time taken to generate the page: 0.00257 seconds