To talk on Icrontic, just register!

It only takes 30 seconds.

Have an account? Sign in:

Forgot?
riaz_cuet
New to the neighborhood
riaz_cuet
3 Posts

converting bernouli binary signals into decimal signal in simulink

Hi,
I am trying to convert binary signals from (bernouli binary generator block) into decimal values in simulink. If anyone know how to do that please let me know!
Thanks
Riaz
shwaip
elaborate bot
shwaip
5,729 Posts
no one who posts here uses simulink.

you're probably looking for some block called a decoder or something.
__________________ my photostream for ic photography challenge

Anyone who wants dropbox, please use my referral link
riaz_cuet
New to the neighborhood
riaz_cuet
3 Posts
Hi,
Thanks for your reply.
Yes I am looking for block which is kind of encoder. I used embedded Matlab function block to produce decimal output from binary inputs of Bernouli binary block. But I dont know exactly what code be written in embedded matlab function block to produce required output.
N.B Embedded Matlab block has input port which will take input data from bernouli binary and produce decimal data in output port.

no one who posts here uses simulink.

you're probably looking for some block called a decoder or something.
sk09
New to the neighborhood
sk09
1 Posts
I am also interested in finding that out. The only difference is that I am trying with dSpace, which uses simulink to start with.
Did you have any luck?
riaz_cuet
New to the neighborhood
riaz_cuet
3 Posts
I am also interested in finding that out. The only difference is that I am trying with dSpace, which uses simulink to start with.
Did you have any luck?
Actually binary 1 and 0 are same as decimal 1 and 0 so there is no need to such conversion. I did not realized that before!
But if you want to convert binary data to decimal data use the command bi2de in embedded matlab function block.
thanks
Go Back   Icrontic Forums > Tech: Software > General Software > Matlab Help
Jump to
This Thread Search this Thread
Search this Thread:

Advanced Search


Current time: 6:03am (GMT)
Powered by vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Get Vanilla instead. Trust me.