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.

how i convert analoge signal to digital form by Matlab?

Status
Not open for further replies.

engtokhy

Newbie level 6
Newbie level 6
Joined
Dec 10, 2007
Messages
13
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,352
Matlab code for ADC

Can any one tell me how i convert analoge signal (Excel file captured from data aquisiton system) to digital form by Matlab
 

JoannesPaulus

Advanced Member level 3
Advanced Member level 3
Joined
Mar 19, 2008
Messages
773
Helped
235
Reputation
470
Reaction score
138
Trophy points
1,323
Location
USA
Activity points
5,006
Matlab code for ADC

the easiest way is:
y=floor(2^n*x);
where x is your input signal between [0,1], n is the number of bits and y is your digital output.

I hope it helps!
 

    Terry46359

    Points: 2
    Helpful Answer Positive Rating

Aya2002

Advanced Member level 4
Advanced Member level 4
Joined
Dec 12, 2006
Messages
1,140
Helped
184
Reputation
376
Reaction score
117
Trophy points
1,343
Location
Iraq
Activity points
8,006
Matlab code for ADC

see this topic
scroll down to see it
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top