- This topic has 1 reply, 2 voices, and was last updated 8 years, 4 months ago by .
Viewing 1 reply thread
Viewing 1 reply thread
- You must be logged in to reply to this topic.
Optiwave software can be used in different industries and applications, including Fiber Optic Communication, Sensing, Pharma/Bio, Military & Satcom, Test & Measurement, Fundamental Research, Solar Panels, Components / Devices, etc..
Download our 30-day Free Evaluations, lab assignments, and other freeware here.Â
Optiwave software can be used in different industries and applications, including Fiber Optic Communication, Sensing, Pharma/Bio, Military & Satcom, Test & Measurement, Fundamental Research, Solar Panels, Components / Devices, etc..
Download our 30-day Free Evaluations, lab assignments, and other freeware here.Â
Hello,
In this example “MatlabOptiSysBER.m” they use this code:
% Generate the matrix with integers to be transmitted
IntSignalin = randint(NrOfInt,NrFrames,2^M-1);
to generate the input signal.
in may case, I have a matrix of floating-point numbers, my questions are:
(1) Is it possible to use it instead of IntSignalin[]??
(2) In the previous example, the integer numbers have been converted to binary by using this code:
% Converte integers to binary numbers
for swint = 1:NrFrames
BinarySig(swint,:) = reshape( dec2bin(IntSignalin(:,swint)) , NrOfInt * M, 1 );
end
In my case, to generate “BinarySig[]”, do I have to convert floating-point matrix to binary based on IEEE Standard 754 or there are other methods??
You could but you would need to use a different component. Either a matlab component or some type of measured electrical/optical signal.
You will notice from the layout of the OptiSystem project that the Binary Sequence generator is loading a file. This file is generated by the Matlab code, so you can understand why you can’t use a double type format in the saved file.
Damian