Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

please help me about filter

Status
Not open for further replies.

bangbi

Junior Member level 1
Junior Member level 1
Joined
Sep 12, 2013
Messages
17
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
99
I have a signal discrete, then I use filter to convert signal discrete to signal continue.
Now, i want to convert signal continue to signal discrete, but i don't know how to do.
i would appreciate if any one can help me as soon as you possible
thanks you again !
have a nice day :D
this code:
%filter
clear all
close all
clc
x=randi([0 7],1,10);
y=rectpulse(x,20);
[a b]= butter(10,1/20);
z1=filtfilt(a,b,y);
n=1:length(z1);
subplot(2,1,1)
stem(x,'r');
subplot(2,1,2)
plot(n,z1,'r',n,y,'g')
legend('signal discrete','signal continue')
untitled.jpg
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top