Home Forums SYSTEM MATLAB COMPONENT IN OPTISYSTEM

MATLAB COMPONENT IN OPTISYSTEM

Profile Photo
(joined June 2015)
Participant

OutputPort1=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)?

Responses (6):

    • #21783
      Profile Photo
      deeptanu das
      Participant

      OutputPort1=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)?

    • #21794
      Profile Photo
      Damian Marek
      Participant

      There 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
    • #21803
      Profile Photo
      deeptanu das
      Participant

      they 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:
      • #21815
        Profile Photo
        Damian Marek
        Participant

        Couldn’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.

        • #22033
          Profile Photo
          Alessandro Festa
          Participant

          Hi 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..

    • #22020
      mohammed hosni
      Participant

      you can use the attached file which may be help you to find your solution

    • #22032

      many thanks it is interesting to know more about matlab 🙂

Login You must be logged in to reply to this topic.