- This topic has 18 replies, 9 voices, and was last updated 8 years, 11 months ago by abida yousuf.
-
AuthorPosts
-
-
January 31, 2014 at 9:27 am #9979Damian MarekParticipant
Question:
How do I incorporate Matlab code into OptiSystem to manipulate binary, electrical and optical signals? Is it also possible to have Matlab call OptiSystem?
-
February 23, 2015 at 7:20 am #17703Saurabh SharmaParticipant
i am using the matlab component for handling the electrical signal, i simply placed the matlab component with a single instruction ie outputPort1=inputPort1 but the matlab component did not show the sampled signal structure or the individual sample structure launched into the matlab workspace.
-
February 24, 2015 at 11:53 pm #17787alistuParticipant
Matlab is case sensitive, ie. you have to be careful about capital and small letters. In you comment, you have used small letters at the beginning of “inputPort1” and “outputPort1”. Now of you have typed it the same way in Optisystem, that causes the problem. In that case you need to change it to:
OutputPort1=InputPort1; -
October 14, 2015 at 7:21 pm #26538maha slitiParticipant
Hello Damian,
Can you please help me to implement a matlab code that achieves the role of an optical substractor
(output = InputSignal1 power – InputSignal2 power )?-
October 15, 2015 at 5:42 am #26566alistuParticipant
Hi Maha,
It is quite easy provided that first you go through the OptiSystem tutorials about how to co-simulate the software with Matlab, whose files have been attached here by Damian and you can also easily find the videos. But then you can create the filter directly without having to use a matlab component as one block in your filter.
Regards
-
October 15, 2015 at 9:36 am #26596Damian MarekParticipant
You want to subtract the time domain signal? At each time sample. Should not be hard, but there will have to be checks to make sure the input signal is the same wavelength or else it will not make sense.
-
-
November 9, 2015 at 9:59 am #27581maha slitiParticipant
Hello,
How can I get at each time a sample of the input sampled signal?
Thank you for your help. -
November 10, 2015 at 4:06 am #27598maha slitiParticipant
Thank you for your response Alistu.
I have an input sampled signal. I need to treat only one sample at once. -
November 10, 2015 at 3:24 pm #27627maha slitiParticipant
Yes Alistu, that is what I mean 🙂
-
January 2, 2016 at 12:28 pm #28968RavilParticipant
Hi Maha!
According to you question about sampling, if I understand it correctly, your signal is presented in Matlab. If this is the case, you can find signal’s sample that you need as it is an element of your sampled signal’s array in a Matlab space using simple tools (please, see OptiSystem examples). As Damian indicated, you can always transfer this data back to OptiSystem when you need to do so…
-
-
December 27, 2015 at 4:27 am #28929ferasParticipant
hello,
i am using optisystem 13 32-bit to design OFDM radio over fiber system that carried LTE signal over fiber optic channel and i am facing aproblem in getting a big BER value ( 0.33 ) and low Q factor but clear constellation diagram , even when run the simulation without any fiber channel (( only modulate and demodulate )) it still give me the same BER value without any change , i hope you to give me the reason why that happened and how can i get the right BER that depending to the channel .
thank you very much-
December 27, 2015 at 12:30 pm #28931Mohamed Ben zegalamParticipant
Hi Feras,
Please may you attach your design so I can look to it and see the problem
-
December 27, 2015 at 2:42 pm #28933alistuParticipant
Hi Mohamed,
I believe Feras is referring to the implementation file he has uploaded in the forum page https://optiwave.com/forums/topic/what-is-happening/ . By the way, no Matlab components were used in that design, so I think the reason he has posted the question here is to make others in this topic see it.
Regards
-
December 27, 2015 at 4:51 pm #28934ferasParticipant
hi mohamed,
actually alistu is right in every word he typed hhhh
thank you all
Regards.
-
-
-
January 14, 2016 at 6:17 am #29184Dr. MohammadMahdi AriannejadParticipant
any more examples?
-
March 7, 2017 at 10:29 am #42682abida yousufParticipant
Hello
Is it possible to design a laser in matlab software and then same m.file is used in the optisystem to evaluate eye diagram.
Thanks
-
June 12, 2021 at 7:26 am #80079RANGANA BANERJEE CHAUDHURIParticipant
Hi Damian,
Your application notes attached was very helpful. Could you kindly provide an application note to find the BER of using MATLAB optisystem cosimulation such that I can check the BER both at the MATLAB and also at optisystem.Thanks and regards,
Rangana -
June 12, 2021 at 7:26 am #82683RANGANA BANERJEE CHAUDHURIParticipant
Hi Damian,
Your application notes attached was very helpful. Could you kindly provide an application note to find the BER of using MATLAB optisystem cosimulation such that I can check the BER both at the MATLAB and also at optisystem.Thanks and regards,
Rangana -
March 31, 2014 at 9:58 am #9996Damian MarekParticipant
Answer:
Co-simulation of Matlab and OptiSystem is possible and very simple. The user can start the simulation in OptiSystem, transfer the data to Matlab and import it back to OptiSystem. The simulation can also start in Matlab and then transfer the data to OptiSystem and import it back to Matlab.
If you go to the samples directory, there is a folder for Matlab co-simulation. Also on our website, there are application notes on this subject:
I have attached three files that explain how to setup Matlab components to manipulate binary, electrical and optical signals. These can be found in your samples folder.
-
-
AuthorPosts
- You must be logged in to reply to this topic.