23.docx

  • Uploaded by: MuhammadAxadKhataabGujjar
  • 0
  • 0
  • August 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View 23.docx as PDF for free.

More details

  • Words: 56
  • Pages: 1
xlabel('n=n-axis'); ylabel('x=impulse sequense'); Title('Discrete Impulse Sequence plotting'); end U=10; % range signal from 0 to 10 n=3 % number of bits q=U/(2^n-1) % quantization interval t=0:0.1:10; % your time vector y=abs(10*sin(t)); % your signal % -------convert to a digital signal yd----------a=fix(y/q); yd=dec2bin(a,n) % ------you can calculate the signal yq ---------yq=a*q %------------------------------------------------plot(t,y,'r') hold on plot(t,yq,'g') hold off

More Documents from "MuhammadAxadKhataabGujjar"

201901.pdf
August 2019 4
1.docx
August 2019 4
23.docx
August 2019 8
Membership-form-1.4.pdf
August 2019 16