- This topic has 6 replies, 5 voices, and was last updated 8 years, 5 months ago by
Alessandro Festa.
-
AuthorPosts
-
-
June 17, 2015 at 3:47 pm #21783
deeptanu das
ParticipantOutputPort1=InputPort1;
inp=InputPort1.Sampled.Signal;
as this is for port definition, in same way can we define for frequency(
I am using 4 input matlab component to which four different frequency signals are available simultaneously and I want to defferentiate between them)? -
June 18, 2015 at 9:16 am #21794
Damian Marek
ParticipantThere are a couple different ways you could do it.
For example, you might make 4 inputs and send each frequency signal separately into the component. Or in the Matlab component you could implement your own filters.
In OptiSystem there is also a way to define multiple channels, differentiated by frequency, but OptiSystem will also naturally attach these channels together into one signal if the frequencies are too close. Can you let me know how far away the frequencies are from each other?
Regards
+1 -
June 18, 2015 at 3:53 pm #21803
deeptanu das
Participantthey are 0.1Thz far away from each other.
I’ve done it using four different inputs.I’m uploading my optisystem layout you could see here.
I’m using MATLAB component as eqaulizer where I’m using backpropagation method to train it.
In MATLAB code I’ve written like
if frequency ==193.1
{
do this
}
but MATLAB component was unable to understand what mean by ‘frequency’.Attachments:
-
June 19, 2015 at 9:21 am #21815
Damian Marek
ParticipantCouldn’t you instead just use:
//signal1 is the 193.1 THz channel
if signal == signal1
{
do this
}The spacing is so close that the channels will automatically be brought into one sampled signal.
-
June 30, 2015 at 8:50 am #22033
Alessandro Festa
ParticipantHi Damian, why 0.1THz spacing is so close that they are considering as one sampled signal? It is the typical 100GHz spacing of DWDM systems..
-
-
June 30, 2015 at 4:59 am #22020
mohammed hosni
Participantyou can use the attached file which may be help you to find your solution
Attachments:
-
June 30, 2015 at 8:34 am #22032
Dr. MohammadMahdi Ariannejad
Participantmany thanks it is interesting to know more about matlab 🙂
-
-
AuthorPosts
- You must be logged in to reply to this topic.