Thread Subject: Simulink encoder

Subject: Simulink encoder

From: Shah

Date: 16 Nov, 2008 13:58:07

Message: 1 of 4

Hi,
I m trying convert binary waveforms (generated from Bernouli binary generator block) to decimal waveforms using simulink. If anyone know how to do it please let me know.
Thanks

Subject: Simulink encoder

From: Steve Conahan

Date: 17 Nov, 2008 17:48:11

Message: 2 of 4

"Shah" <riaz_cuet@yahoo.com> wrote in message
news:12578150.1226843917815.JavaMail.jakarta@nitrogen.mathforum.org...
> Hi,
> I m trying convert binary waveforms (generated from Bernouli binary
> generator block) to decimal waveforms using simulink. If anyone know how
> to do it please let me know.
> Thanks

Hi Shah,

There is a Bit to Integer converter library block in the Communications
Blockset that should allow to convert the binary signal to integers.

Cheers,
Steve

Subject: Simulink encoder

From: Sandip Kulkarni

Date: 18 Nov, 2008 23:45:03

Message: 3 of 4

"Steve Conahan" <sconahan@mathworks.com> wrote in message <gfsap1$mjk$1@fred.mathworks.com>...
> "Shah" <riaz_cuet@yahoo.com> wrote in message
> news:12578150.1226843917815.JavaMail.jakarta@nitrogen.mathforum.org...
> > Hi,
> > I m trying convert binary waveforms (generated from Bernouli binary
> > generator block) to decimal waveforms using simulink. If anyone know how
> > to do it please let me know.
> > Thanks
>
> Hi Shah,
>
> There is a Bit to Integer converter library block in the Communications
> Blockset that should allow to convert the binary signal to integers.
>
> Cheers,
> Steve
>

Subject: Simulink encoder

From: Sandip Kulkarni

Date: 18 Nov, 2008 23:48:01

Message: 4 of 4

"Steve Conahan" <sconahan@mathworks.com> wrote in message <gfsap1$mjk$1@fred.mathworks.com>...
> "Shah" <riaz_cuet@yahoo.com> wrote in message
> news:12578150.1226843917815.JavaMail.jakarta@nitrogen.mathforum.org...
> > Hi,
> > I m trying convert binary waveforms (generated from Bernouli binary
> > generator block) to decimal waveforms using simulink. If anyone know how
> > to do it please let me know.
> > Thanks
>
> Hi Shah,
>
> There is a Bit to Integer converter library block in the Communications
> Blockset that should allow to convert the binary signal to integers.
>
> Cheers,
> Steve
>
Hi Steve,
I am trying a similar problem. I do not use Communications Blockset. But, I have serial port from dSpace Control desk that gives me binary signals. I want to parse them and then use integers. Any hint, on what block to use for that?

Thanks,

SK

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Public Submission Policy

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Disclaimer prior to use.

Contact us at files@mathworks.com