- This topic has 6 replies, 5 voices, and was last updated 8 years, 9 months ago by Jamal.
-
AuthorPosts
-
-
November 23, 2014 at 4:15 am #15895Abdallah IsmailParticipant
I made matlab component to get the optical system in the time domain ,then when I use FFT and divide it by the total no. of input signal samples,then I get the signal to matlab in frequency domain,I found it doesn’t match exactly with FFT .not only the values but also the signs.
What is the difference and what is the right matlab or Optisystem.
this is part of modeling fiber with SSFM which doesn’t give accurate results and I’m trying to find the cause of the problem.
Regards,
Abdallah -
November 23, 2014 at 10:15 pm #15928Damian MarekParticipant
Hi Abdallah,
There can be some differences in how a Fourier transform is defined. That being said could you please attach your project file, matlab component file and the plots that don’t match?
Thanks
-
November 24, 2014 at 3:21 am #15933Abdallah IsmailParticipant
Thanks Damian for your response.
I modified the code to be readable for you.
You’ll conclude from the code how to run it.
Run the time domain first then frequncy domain after removing % % from frequency domain part and adding % to time domain part.
Compare Optisystem_signal with Matlab_signal.
Although the power results is very close but the samples are not the same.
I Hope you tell me how the optisystem make fft.
Regards, -
March 25, 2016 at 3:29 am #33807JamalParticipant
If we export the signal in frequency domain then we get the signal in power ?
Can anyone confirm this ?
-
March 27, 2016 at 2:21 am #33947Ranjeet KumarParticipant
Hi Abdallah,
I think you have problem in matlab code because when i simulate the program using optisystem, i got the error as” CIDF scheduler :error occured while calculating , component MATLAB component Error in MAtlab program”.
So, I think we should correct the Matlab code.
There is no problem in optisystem. -
March 27, 2016 at 2:34 am #33950SAHIL SINGHParticipant
Hi Abdullah,
As mentioned by Ranjeet, if there occurs an error showing “MATLAB component Error in MAtlab program”, then definitely you should correct the Matlab code… Hope it helps…
Regards
Sahil Singh
-
March 28, 2016 at 3:24 am #34001JamalParticipant
Ranjeet
Can you confirm if the signal exported in frequency domain has amplitude in Watts ?
-
-
AuthorPosts
- You must be logged in to reply to this topic.