it returns the counts for your specific message (the message that you will need to decode) nbits input variable is the corresponding number of bits received in modes '0' or '1' (if mode is equal to 'EE3384', the input variable nbits is not required your message has a fixed number of bits) number-of-photons output vector is a column vector with the photon counts for the bits received (note that the photon counts are random wariables). The definition of these variables is as follows idnumber input string is the user's UTEP ID number mode input string: equal to '0', the function returns the photon counts for a message with all bits equal to zero t returns the counts for all bits equal to one and EE3384. The Matlab function optical-fiber detector.p generates the photon counts for bits cation system and counted in the notodetector side tted through an optical co trans This function has up to three input variables, idnumber, mode and nbits, and it returns one output vector, number-of-photons. The p-code Matlab function optical-fiber -detector.p simulates an optical communication system. You will write a Matlab script to decode the message detected by the Matlab function optical fiber-detector. p to simulate p generate the number of photons of a binary message an optical communication System al being received.
Transcribed image text: 1 Problem Description In this homework you will use the Matlab function optical-fiber-detector.