필터 지우기
필터 지우기

NRZ-4 and NRZ-8

조회 수: 2 (최근 30일)
Acosta
Acosta 2012년 4월 10일
How can I do a level 4 and level 8 nrz?
i have a terrible teacher and he ask for it.
  댓글 수: 5
Acosta
Acosta 2012년 4월 15일
http://en.wikipedia.org/wiki/Amplitude-shift_keying
mask it's multilevel amplitude-shift keying and what I need is a level 4 and level 8 ask
Acosta
Acosta 2012년 4월 15일
http://www.slideshare.net/mahinthjoe/lecture-4-1580897

댓글을 달려면 로그인하십시오.

답변 (4개)

Rick Rosson
Rick Rosson 2012년 4월 15일
>> doc bin2dec
>> doc stairs
  댓글 수: 2
Acosta
Acosta 2012년 4월 16일
Is that enough? I just dont understand how 2 do
Rick Rosson
Rick Rosson 2012년 4월 16일
Hi Acosta, I am not going to do your homework assignment for you. If you want some help, you need to make an effort to figure it out for yourself. I have given you enough to get started. Please let me know what you have tried on your own, and what _specific_ questions you have.

댓글을 달려면 로그인하십시오.


Rick Rosson
Rick Rosson 2012년 4월 16일
Here is another hint:
Suppose you have a series of randomly generated symbols drawn from the set of integers { 0, 1, 2, 3 }, and you would like to map them to the integers { -3, -1, +1, and +3 }, what mathematical formula could you use to compute this mapping?
HTH.
Rick
  댓글 수: 2
Acosta
Acosta 2012년 4월 16일
my teacher ask us to do the mask with those binary numbers using each char as 1 number. i can't understand how to do it beacuse he only teaches a nrz wave 1 level and this is 4 levels and still using 0 and 1.
Rick Rosson
Rick Rosson 2012년 4월 16일
You did not answer the question that I asked. Please think about it.

댓글을 달려면 로그인하십시오.


Rick Rosson
Rick Rosson 2012년 4월 16일
You need to convert numbers from a binary representation (base 2) to a decimal representation (base 10). That is why I suggested looking at the bin2dec function.
If you break up the binary string into blocks of 2 bits each, you can use the bin2dec function to convert them to integer-valued numbers, each of which is an element of the set { 0 1 2 3 }. For example:
b = '10';
x = bin2dec(b);
disp(x)
will return the value of x as 2.
Likewise, if you break the binary string into blocks of three bits each, you will end up with integers in the set 0 ... 7 inclusively.

Rick Rosson
Rick Rosson 2012년 4월 16일
Another function that may help is reshape.

카테고리

Help CenterFile Exchange에서 Electrical Block Libraries에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by