
MAtlab Electrical Component
Hi all,
I am trying to find the signal to noise ratio of the output of a photonically sampled ADC. For the SNR calculation I have used a matlab component. On the start of the project, the project gives one value, and each time I rerun the project, the value of SNR differs by a small amount.
Can anyone suggest the problem with the simulation.
I am also attaching the osd and matlab file.
Attachments:
Responses (27):
-
March 10, 2016 at 12:41 am #32179
Hi all,
I am trying to find the signal to noise ratio of the output of a photonically sampled ADC. For the SNR calculation I have used a matlab component. On the start of the project, the project gives one value, and each time I rerun the project, the value of SNR differs by a small amount.
Can anyone suggest the problem with the simulation.
I am also attaching the osd and matlab file.Attachments:
-
March 10, 2016 at 12:51 am #32185
hi jamal,
the .osd file you have attached does not open;can u please upload screen shot of your .osd file.
the variation in the results can be the random ness of the components. i suggewst you to check random seed of each component in your .osd file and untick them all. this will remove randomness of your components.
with regards
-
March 10, 2016 at 12:58 am #32187
hi jamal,
i think you have posted the replicated query in another post;
please do not posted same posts repeatedly, as it makes the improper discussion, discusion on one post will lead to some conclusionwith regards
-
March 10, 2016 at 12:58 am #32189
yah i agree with umer syed .. after disabling random seed of very component will make you result more stable .. moreover shot noise of photo detectoer may the the one of reason ..
+1 -
March 10, 2016 at 1:14 am #32200
Please find the attached screenshot
-
March 10, 2016 at 1:15 am #32201
-
March 10, 2016 at 1:18 am #32204
hi jamal,
i am unable to open the .osd file you have attached in optwave 14, i dont know why i am unable to open the attached file s on forum with my software package.
be patient , some one will open youe .osd file.
with regards
-
March 10, 2016 at 2:10 am #32212
-
March 10, 2016 at 4:59 am #32217
Umer Syed thank you for the suggestion.
I have unchecked all the random seed options from the components, but I am still getting a slight variance in the output SNRAttachments:
-
March 10, 2016 at 10:12 am #32261
Hello jamal,
Please can you tell us what exactly is the MATLAB module you are using and what operation does it have..?
Normally if one comes across such problems in optisystem it is believed to do with enabling/disabling “generate random seed” option. For now you can disable the generate random seed option and see how it works..
Regards+6 -
March 10, 2016 at 3:01 pm #32340
Hi all…
yes, the random seed in the components of the system is the only reason the results vary in different simulations. Given the parameters are constant, the results stay same no matter how many times you simulate provided the random seed of components is disabled.Regards.
+2-
March 10, 2016 at 10:29 pm #32369
Hello naazira,
Yeah that may be reason most probably and in fact is most often.
Anyway thank you
regards+1
-
-
March 11, 2016 at 12:57 am #32432
Thank you Umer , Kumar, Naazira and Aabid
The trick works. By disabling random seed of each component, the simulation is giving a constant answer every time it is run.-
March 11, 2016 at 9:39 am #32492
Hello jamal,
You are welcome anytime. The problem had to be because of generate seed thing. Once you disable it your results will become static and moreover very consistent.
Regards+2
-
-
March 11, 2016 at 6:42 am #32265
Hello to the man who is raising the queries related to the matlab electrical component. I am also working on the project that requires the interface with the electrical components from the matlab. If you have any solution then please share. Also explain why such problems arise.
Regards.
-
March 11, 2016 at 6:42 am #32279
hello jamal,
i am unable to open the .osd file you have attached in optwave 14, i dont know why i am unable to open the attached files on forum with my software package. Can you please tell me the version of the software that you are using?
Have patience , some one will open youe .osd file.
with regards
-
March 12, 2016 at 1:48 am #32531
You are welcome, Jamal.
Regards.
Login You must be logged in to reply to this topic.