DSPRelated.com
Forums

generation of signal out from the given bit pattern

Started by ayyaz mahmood November 9, 2004
Hello
 
I have written m-file which gives me a 1023 random bits which i get in Matlab workspace . I want to generate a signal out from that (consisting of pulse) , the time between each pulse should be 0.9775 micro second and after that i also want to see that signal in Matlab or simulink.  I think if someone will tell me just how to generate signal out of just 10 bits having time between each pulse 0.9775 micro second. I can then generate for 1023 bits. I want to have output in simulink or in matlab
 
 
The first ten bits which i see in matlab work space are 
 
st_C =
     1     1     0     0     1     0     0     0     0     0
 
 
I shall be very thankful to you




I assume you want to generate external signal - and more than doubt
you can do this in Windows without specialized hardware. Even then,
more than 1 MHz with 4 digits of precision sounds expensive.
Mike On Tue, 9 Nov 2004 04:35:34 -0800 (PST), ayyaz mahmood
<> wrote:
>
>
> Hello
>
> I have written m-file which gives me a 1023 random bits which i get in
> Matlab workspace . I want to generate a signal out from that (consisting of
> pulse) , the time between each pulse should be 0.9775 micro second and after
> that i also want to see that signal in Matlab or simulink. I think if
> someone will tell me just how to generate signal out of just 10 bits having
> time between each pulse 0.9775 micro second. I can then generate for 1023
> bits. I want to have output in simulink or in matlab > The first ten bits which i see in matlab work space are
>
> st_C =
> 1 1 0 0 1 0 0 0 0 0 > I shall be very thankful to you
>

>