Skip to main content
1-Visitor
September 18, 2015
Solved

MATHCAD - how do I change a function f(x) to a vector so that I can use it in subsequent evaluations (e.g. interpolate)?

  • September 18, 2015
  • 1 reply
  • 2496 views

I have a time domain function (damped sine) in MATHCAD that needs to be fft, then attenuated by a frequency dependent vector. To do that I need to:

- perform fft on function

- interpolate the fft with the attenuation

I have tried VECTORIZED with no success. Can anyone help with creating a vector/matrix from a function?

Best answer by StuartBruff

Robert Martin wrote:

I have a time domain function (damped sine) in MATHCAD that needs to be fft, then attenuated by a frequency dependent vector. To do that I need to:

- perform fft on function

- interpolate the fft with the attenuation

I have tried VECTORIZED with no success. Can anyone help with creating a vector/matrix from a function?

Could you please post your worksheet so that others can see what you've done?

Thanks,

Stuart

1 reply

23-Emerald V
September 18, 2015

Robert Martin wrote:

I have a time domain function (damped sine) in MATHCAD that needs to be fft, then attenuated by a frequency dependent vector. To do that I need to:

- perform fft on function

- interpolate the fft with the attenuation

I have tried VECTORIZED with no success. Can anyone help with creating a vector/matrix from a function?

Could you please post your worksheet so that others can see what you've done?

Thanks,

Stuart

rmartin-21-VisitorAuthor
1-Visitor
September 18, 2015

Stuart - unfortunately, the attached won't tell you much. As you can imagine, I have been trying lots of things; getting frustrated; deleting my attempts.

The worksheet simply defines a function of (t) to define a damped sine waveform with a fundamental frequency that can be adjusted (currently 10^4).

23-Emerald V
September 21, 2015

Robert Martin wrote:

Stuart - unfortunately, the attached won't tell you much. As you can imagine, I have been trying lots of things; getting frustrated; deleting my attempts.

The worksheet simply defines a function of (t) to define a damped sine waveform with a fundamental frequency that can be adjusted (currently 10^4).

Is the attached something like what you are after?

Stuart