Tasks done Read a wave file in matlab and plot it in time domain and frequency domain Write a matlab script to draw a PWM [Pulse Width Modulation] waveform. Your code should take input the frequency and duty cycle of the wave. Your Lab report should include Read a wave file in matlab and plot

# Latest Posts

## CSE 446 Fall 2018 Lab 6

Tasks done Generating Walsh code Sample Output Give value of n: 8 Walsh code 1: 0 0 0 0 0 0 0 0 Walsh code 2: 0 1 0 1 0 1 0 1 Walsh code 3: 0 0 1 1 0 0 1 1 Walsh code 4: 0 1 1 0 0 1 1

## CSE 322 Fall 2018 Lab 7

Problem #1 (Program listing 9.2, 9.3, 9.4) Decimal input output procedure //Solution .MODEL small .STACK 256 .DATA .CODE MAIN PROC mov ax,@data mov ds,ax call indec push ax mov ah, 2 mov dl, 0dh int 21h mov dl, 0ah int 21h pop ax call outdec Exit: mov ah,4Ch int 21h MAIN ENDP outdec proc push

## CSE 322 Fall 2018 Lab 6

Problem #1 Introduction to stack //Solution Lat sheet 4 page 1-2 //Code .MODEL small .STACK 4h .DATA .CODE MAIN PROC mov ax, @data mov ds, ax mov ax, 0f0fh push ax inc ax push ax pop bx pop cx pop dx pushf popf ENDP MAIN end MAIN Problem #2 (Section 8.2) Write a code to

## CSE 446 Fall 2018 Lab 5

Lab 5 report Tasks done AM modulation a. Generate message and carrier signal b. Generate modulated signal with the equation taught in class c. Add noise to the modulated signal d. Demodulate the signal with built in MATLAB function amdemod e. Plot graphs of all the signals FM modulation a. Generate message and carrier signal

## CSE 322 Fall 2018 Lab 5

Problem #1 (Chapter 7 examples) Introduction to logical instructions //Solution mov ax, 01010101b mov bx, 10101010b ;And Instruction: Logical AND and the result is stored in the first register mov cx, ax and cx, bx ;OR Instruction: Logical OR and the result is stored in the first register mov cx, ax or cx, bx ;XOR

## CSE 446 Fall 2018 Lab 4

Tasks done BPSK QPSK Lab 4 report Include in the report BPSK from input bit vector a. The code for your code. The code must take, input vector(b), sampling frequency(fs), and carrier frequency(fc) as input. b. A single graph containing input binary, carrier signal, and the modulated signal. Use subplot to add the three graph

## CSE 322 Fall 2018 Lab 4

Problem #1 (Example 6.6) [AND condition] Read a character, and if it’s an uppercase letter, display it. //Solution mov ah, 1 int 21h cmp al, ‘A’ jl not_print cmp al, ‘Z’ jg not_print print: mov ah, 2 mov dl, al int 21h not_print: //Alternative COde mov ah, 1 int 21h cmp al, ‘A’ jge next

## CSE 445 Fall 2018 Tutorial 1

Tutorial Date: 6th October 2018 [Saturday] Time: Syllabus: Lecture 1 : Introduction Lecture 2 : Concepts of Wireless Transmission

## CSE 321 Fall 2018 Tutorial 1

Tutorial Date: 4th October 2018 [Thursday] Time: 10:00 AM Syllabus: Lecture 1,2,3,7