05-16-2018 12:30 PM
Hi all.
I want to generate this type of signal but i don't have any idea how to do this. Can you help me, please?
Thanks !
05-16-2018 02:09 PM
Do have a problem with programming or with the math to generate the data?
05-16-2018 02:13 PM
i have a problem with both.
05-16-2018 02:28 PM
What have you tried so far?
05-16-2018 02:39 PM
Hi Claudinho,
i have a problem with both.
Then maybe you should start with learning the math first?
Are you looking for something like this?
05-16-2018 03:00 PM - edited 05-16-2018 03:08 PM
@Claudinho18 wrote:
i have a problem with both.
You also have a third problem: asking questions. 😄 Is this for continuous generation or a single-shot? What's the purpose? What's the desired datatype? Is this going to an analog output? What is the amplitude, frequency, sampling rate, and time constant?
A simple square wave with an exponential filter would probably do the trick. Here's a very simple example to get you started. (Probably needs a few tweaks for initial values, offset, amplitude, a, etc.))