The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum
 Origin Forum
 Quantization of signal

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Donyck1 Posted - 03/26/2015 : 4:25:20 PM
Hello. I need your advice. I have a signal with some values 1,5 2,1 3,4 and so on.
I want to simulate the quantization of signal for some digit capacity.
For example 5 V and 8 bit. It will 5/(2^8-1) and one step in column X i*0,0196;
After that I need to round values of signal to this nearest digital values so
1,5 = 1,5092 2,1 = 2,0972 3,4 = 3,3908 etc.
2   L A T E S T    R E P L I E S    (Newest First)
Donyck1 Posted - 03/26/2015 : 6:10:21 PM
quote:
Originally posted by Hideo Fujii

Hi Donyck1,

Please try the following formula in the Set Column Values tool for column B
(5/(2^8-1))*round(col(B1)/(5/(2^8-1)))
Does it work?

--Hideo Fujii
Originlab



Thanks. It works perfectly.
Hideo Fujii Posted - 03/26/2015 : 6:01:35 PM
Hi Donyck1,

Please try the following formula in the Set Column Values tool for column B
(5/(2^8-1))*round(col(B1)/(5/(2^8-1)))
Does it work?

--Hideo Fujii
Originlab

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000