Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Project Write a MATLAB function who takes as input parameters: ibs: A vector which represents input bit stream tlc: Type of line code: A character

Project Write a MATLAB function who takes as input parameters:

ibs: A vector which represents input bit stream

tlc: Type of line code: A character variable which can take following values: NRZ-L (for NRZ-LEVEL),NRZ-M (for NRZ-MARK), NRZ-S (for NRZ-SPACE), __AMI (for BIPOLAR (AMI)), RZ, bi_RZ (for BIPOLAR RZ), manch (for MANCHESTER (BIPHASE)), and d_man (for DIFF. MANCHESTER)

Rb: A scalar which shows input bit rate

Also, write a function to plot the generated waveform.

Procedure

One can generate the functions

lc_gen(ibs,tlc,Rb) and lc_plot(x,Rb) with parameters as defined above. As an example:

b=[0 0 1 1 1 0 0 1 1 1 1 0];

x=lc_gen(b,__AMI,2);

lc_plot(x,2)

will generate following waveform (note that each second contains two pulses for Rb = 2):

image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Informix Database Administrators Survival Guide

Authors: Joe Lumbley

1st Edition

0131243144, 978-0131243149

More Books

Students also viewed these Databases questions

Question

What are the steps in valuing a merger?

Answered: 1 week ago

Question

LO2 Explain the major laws governing employee compensation.

Answered: 1 week ago