Simulink Pulse Generator with amplitude between -1 and +1
Okay - I've got Simulink up and running and I'm using the Pulse Generator with a pretty simple transfer function and the scope. I would like however to use a pulse that goes from -1 to +1 instead of from 0 to +1. Is there any way to alter the Pulse Generator block so that the amplitude is between -1 and +1?
"JustADude Rupert" <firstname.lastname@example.org> wrote in message
> Okay - I've got Simulink up and running and I'm using the Pulse Generator
> with a pretty simple transfer function and the scope. ...Simulink or Matlab Random Pulse Generator with specified qty of pulses
Does anyone know how to easily generate a randomly spaced
pulse in simulink or in a general matlab script? I am
trying to create an "upset" pulse in a simulink model but
with a specified maximum quanitity of upsets (pulses).
I'd like to be able to specify "X" pulses +/- "Y" to occur
at randomly spaced intervals over tspan = T.
Any ideas out there?
On Nov 13, 10:47 am, "Jeremy " <jeremy.p.har...@boeing.com> wrote:
> Does anyone know how to easily generate a randomly spaced
> pulse in simulink or in a general matlab script? I am...How to use single Timer to generate PWM PULSE, Pulse ON time measurement, Event time measurement1,Event time measurement2
Hi,I am planning to use a single Timer to generate PWM PULSE, Pulse ON time measurement, Event time measurement1,Event time measurement2 some one please suggest me how can I achive this.Thanks in advance..Michael
Hi Michael, It would be really good to understand your application a little more so that any specific needs that you have may be met. In the meantime, I would also suggest searching on ni.com for "pwm" or other keywords that relate to your application. You will see a faceted navigation on the left side that allows you to narrow your search for example code, tutori...Single pulse generator
When a conditional expression outputs true i want it to trigger a pulse with settable amplitude and duration (in seconds).
Kind of like what the "pulse" function does but only a single pulse and also triggered.
I should probably add that this is for Simulink.
I am having the same problem. did you find a way to do it. thanks
...pulse generator (Simulink)
I have a problem with Simulink.
I need to generate a falling triggered subsystem, which produces one
5 sec impulse. Can I use the pulse generator, because I need only one
period. If I can use it, how can I manage to get only one period?
...simulink block: pulse generator
How to build up a simulink block of a pulse generator with variable
pulse width and duty cycle from its input ports? where, Pulse width
and duty cycle in each cycle are generated from a S-Function.
Thanks a lot!
...Triggered pulse generation [simulink]
I'm pretty much a beginner. I'm trying to create a rising edge triggered
pulse in simulink (ultimately for dSpace), with another delayed pulse from
the same trigger source.
I have tried to create a triggered subsystem, then use signal builder to
create the pulse feeding an output port. I connect the output to a unit
delay. I now trigger the subsystem with a pulse generator block, and
observe the trigger, pulse output and delayed output on a scope block.
The trouble is, the system does not behave as I would expect - the pulse in
the subsystem occurs at the beginning of the simula...Programmable pulse generation (Simulink)
I would like to make a pulse generator which can take a
frequency input and generate pulses at that frequency. The
pulse generator included in Simulink isn't sufficient as it
can not take an input from other blocks in the simulation.
I've tried downloading the Programmable Pulse Generator (by
Dustin) in the File Exchange section, but this .mdl file
doesn't work on either of the two version of Matlab I've
tried it on (v7, R14 and R2007a).
This is a simple task, but I can't seem to get it figured
out. Please help.
Hi...Pulse generator block in Simulink
Is it possible to set the period parameter in pulse generator block as variable?
The period parameter is not fix and some times change during simulation.
"Riadi Riadi" <email@example.com> wrote in message
> Dear all,
> Is it possible to set the period parameter in pulse generator block as
> The period parameter is not fix and some times change during simulation.
> Thank you.
Choose time-based and external signal for time (t):