Fourier transform

Fourier transform - Mathcad Fourier transform doesn't work in SMath - Сообщения

#1 Опубликовано: 14.05.2026 16:19:57
Caro

Caro

0 сообщений из 7 понравились пользователям.

Группа: User

Dear all,

I have a Mathcad Document about Fourier transform that I want to translate into SMath.
I already dowloaded the FFTPack plugin. I used the same functions from the Mathcad document which doesn't work in SMath.
I tried a bit but nothing is working. The error message says "The argument must be a scalar."
I attached screenshots from my SMath document and the original Mathcad document.

Does anyone have an idea or a helpful tip?

Thanks in advance

Screenshot 2026-05-14 181146.png
Screenshot 2026-05-14 180252.png
#2 Опубликовано: 14.05.2026 16:26:36
Caro

Caro

0 сообщений из 7 понравились пользователям.

Группа: User


fft_spalt_test.sm (5,42 КиБ) скачан 24 раз(а).
#3 Опубликовано: 14.05.2026 18:55:58
sergio

sergio

122 сообщений из 340 понравились пользователям.

Группа: User

try to construct the vector like this

Показать спойлер


sergio
1 пользователям понравился этот пост
Caro 15.05.2026 07:01:47
#4 Опубликовано: 15.05.2026 07:07:59
Caro

Caro

0 сообщений из 7 понравились пользователям.

Группа: User

Thank you! That worked and the error message is gone.

I'm still having trouble plotting the graph. The graph is not being displayed but there isn't any error message.
Did I overlook something? Does the rfft() function work different in SMath than in Mathcad?

Thanks in advance
#5 Опубликовано: 15.05.2026 07:57:42
sergio

sergio

122 сообщений из 340 понравились пользователям.

Группа: User

Check if it can help you. The graph has the correct shape but the values are different.fft_spalt_test(sergio).sm (10,62 КиБ) скачан 16 раз(а).
sergio
1 пользователям понравился этот пост
Caro 15.05.2026 16:30:00
#6 Опубликовано: 15.05.2026 16:32:47
Caro

Caro

0 сообщений из 7 понравились пользователям.

Группа: User

Thank you Sergio!

I'm going to try around with your file a bit more. But having the correct shape is already very helpful and good enough.

  • Новые сообщения
  • Нет новых сообщений