Error Differentation

Error Differentation - In some case there is no Result in v(fourier) and a(fourier) diagram - Messages

#1 Posted: 1/25/2021 6:35:27 AM
Thomas Stampa

Thomas Stampa

0 likes in 6 posts.

Group: User

In some case there ist no Result in v(fourier) and a(fourier) diagram but this message:
Unbenannt.png

need some Help please.
Thanks Thomas
#2 Posted: 1/25/2021 7:57:41 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

need some Help please.
Thanks Thomas


The function is needed for inspection.
Cheers ... Jean

#3 Posted: 1/25/2021 12:12:23 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

The function is needed for inspection.


That shape or very similar was fitted in Mathcad 11,
fitted linfitCheby order 99, not possible Smath ... order 99 too big.
It may be why you can't plot derivative, i.e: your Fourier too high order.

#4 Posted: 1/25/2021 3:15:56 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

It may be why you can't plot derivative, i.e: your Fourier too high order.


Wrong reply ... explain:
The Smath derivative operator is essentially the same from your Calculus book.
Fourier is the sum of trig sin/cos Σ that at some point derivative operator
does not recognize w/o complaining.
What you can do from your clean looking plot, discretize the function,
next => plot the FD derivative [FD = Finite differences].
Attach the function, I will finish for the derivative.
Cheers ... Jean

#5 Posted: 1/25/2021 3:42:30 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

... this one plots the Fourier derivative.

Fourier Budapest39 Smoothing DERIVATIVE.sm (40 KiB) downloaded 27 time(s).
#6 Posted: 1/25/2021 4:07:14 PM
Ruben Sidranski

Ruben Sidranski

17 likes in 463 posts.

Group: User

Wrote

The function is needed for inspection.
Cheers ... Jean


@ Thomas Stampa,
The above is Jean speak for "please upload your working file". Forum members are guessing without seeing your work.
#7 Posted: 1/25/2021 4:59:57 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

... refreshed & augmented.
Derivative symbolic expansion of that little peanut is huge.
Bigger ones will have a long journey across Canada !
Budapest B39 is courtesy from Theodore [85 +] around 2004
You may have to discretize your function, proceed similarly ?
Cheers ... Jean

Fourier Budapest39 Smoothing DERIVATIVE.sm (58 KiB) downloaded 26 time(s).
#8 Posted: 1/26/2021 6:19:37 AM
Thomas Stampa

Thomas Stampa

0 likes in 6 posts.

Group: User

Hallo everyone...

the script works in Version build:7030 and doesnt works in the latest build 7610. see the different screenshots here.

The Smath-script is attached.... Maybe there ist a lot for optimising...
I´m very thankfull for further tips..

Greatings Thomas sorry for this bad english.... it isn´t as good as I want.... File not found.File not found.File not found.
#9 Posted: 1/26/2021 6:28:10 AM
Thomas Stampa

Thomas Stampa

0 likes in 6 posts.

Group: User

thank You very much for comments......
#10 Posted: 1/26/2021 6:36:10 AM
Thomas Stampa

Thomas Stampa

0 likes in 6 posts.

Group: User

@ Jean Giraud super... Budapest39 is a great idea. I will try to use this way....
#11 Posted: 1/26/2021 9:32:43 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

@ Jean Giraudsuper... Budapest39 is a great idea.I will try to use this way....


Sorry Thomas: your document is empty "wrong format".
That damned bug hits again ... for how long ?
That wrong format is random since SS 7610.
Try simplify the name of the document.
Maybe some Collab will transit otherwise ?
Cheers ... Jean
#12 Posted: 1/26/2021 1:06:49 PM
Thomas Stampa

Thomas Stampa

0 likes in 6 posts.

Group: User

eventuelly this:

saved with SS7030


Dynamics.sm (409 KiB) downloaded 27 time(s).
#13 Posted: 1/26/2021 2:45:59 PM
Ruben Sidranski

Ruben Sidranski

17 likes in 463 posts.

Group: User

Check and cross check your formulas and how you defined the equations (e.g. "[" for a matrix). At the moment, if I define x:0,0.1...1, the result for V.fourier(x) says that the "result is above the max allowed positive number"

In addition, W.fourier cannot be calculated, but the graph is visible
#14 Posted: 1/26/2021 3:59:25 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

eventually this:
saved with SS7030


No luck ... AV at the upload time were suspected.
A decent size *.PDF, I volunteer to recreate.
Cheers ... Jean


#15 Posted: 1/26/2021 4:18:32 PM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

Wrote

.... Maybe there ist a lot for optimising...



I guess not. Your worksheet seems to have all ok, and because of that I try to just take the derivative for a "simple" univariate function evaluating symbolically w.fourier, and copy and paste the result. The error in the derivative remains. So, the issue it's related with the numeric procedure in the SMath derivative, but not with your work and you haven't too much to optimize in your code. As workaround you can use your own numeric derivative.

w.fourier.sm (30 KiB) downloaded 30 time(s).

I don't know if this is useful in your work, but this procedure is well know for mathcad for extend a function over a period:

periodic.sm (9 KiB) downloaded 31 time(s).

The use of mod or floor is only for numerics, but for symbolics you can use the heaviside function, which actually SMath haven't.

Best regards.
Alvaro.
#16 Posted: 1/26/2021 9:19:04 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

1. I toke Alvaro Monster Big function
2. freaked a bit and discretized a portion,
3. proceeded B39 for continuous construction sanity check,
4. cinterp(X,Y,x) as it is continuous up to 2nd order derivative,
5. applied the infinitesimal derivative ... just perfect.
Cheers ... Jean

Fourier Budapest39 MonsterBig.sm (65 KiB) downloaded 26 time(s).
#17 Posted: 1/26/2021 11:40:42 PM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

Wrote

Wrote

.... Maybe there ist a lot for optimising...



I guess not. ...



Well, if that's true, you only need to simplify two univariate functions, the speed v and the acceleration a. For v maple() it's enough, for a needs an explicit simplify command.

Clipboard04.jpg

LF_Aufschaukeln_4_Pers_Personenanregung_Fluchttreppe_allg__optional_getilgt.sm (408 KiB) downloaded 31 time(s).

Best regards.
Alvaro.
#18 Posted: 1/27/2021 4:58:04 AM
Thomas Stampa

Thomas Stampa

0 likes in 6 posts.

Group: User

Dear Jean
Dear Alvaro,

I´m very impressed abut your quckliy help....

My problem is solved and I learned a lot . Thanks!!!

Best regards , Thomas
  • New Posts New Posts
  • No New Posts No New Posts