Jump to content

exponential function


Recommended Posts

QUOTE (gareth123 @ Jan 18 2009, 01:37 AM)

this is something which i had tried, however i don't see any output waveforms.

did i miss out on something?

  • You didn't wire anything into the graph
  • Your formula only makes one data point; I think you need a chart instead
  • Your formula calculates to a constant

Try this one

Link to comment

QUOTE (jcarmody @ Jan 18 2009, 01:12 PM)

  • You didn't wire anything into the graph
  • Your formula only makes one data point; I think you need a chart instead
  • Your formula calculates to a constant

Try this one

Thanks a lot. It sure helps. i tried to wire the exponential function into the graph but it seems it become loose ends.

To use a formula, can I say that I had to specify an input into the formula, and let the formula operate from there?

Another thing which I'm pretty curious about. At first, my formula was sin(2*pi) and why did you change it to sin(2*pi*mod(i,pi)) instead? what does the "mod(i,pi)" do?

Link to comment

ok. this is something which i had tried earlier. I'm supposed to do a fourier transform of this signal.... exp(-alpha*t) where alpha is greater or less than 0.. the upper limit is inf and lower limit is 0. the waveform i got is a straight line, and there's this error -20003 i.e number of samples > 0.

I thought I had already defined the number of samples? Is that anything which I had missed out? Please see attached.

Link to comment

QUOTE (gareth123 @ Jan 23 2009, 08:12 AM)

ok. this is something which i had tried earlier. I'm supposed to do a fourier transform of this signal.... exp(-alpha*t) where alpha is greater or less than 0.. the upper limit is inf and lower limit is 0. the waveform i got is a straight line, and there's this error -20003 i.e number of samples > 0.

I thought I had already defined the number of samples? Is that anything which I had missed out? Please see attached.

updated .vi file. I had changed the -inf icon to a numeric constant and it works. Now I would like to display the waveform in real time domain exponential signal, magnitude spectrum and phase spectrum.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.