Error Differentation

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

#1 Objavljeno: 25. 1. 2021. 06:35:27
Thomas Stampa

Thomas Stampa

0 svidjanja u 6 postova.

Grupa: 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
Norseman
#2 Objavljeno: 25. 1. 2021. 07:57:41
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

Wrote

need some Help please.
Thanks Thomas


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

#3 Objavljeno: 25. 1. 2021. 12:12:23
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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 Objavljeno: 25. 1. 2021. 15:15:56
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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 Objavljeno: 25. 1. 2021. 15:42:30
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

... this one plots the Fourier derivative.

Fourier Budapest39 Smoothing DERIVATIVE.sm (40,71 KiB) preuzeto 1633 put(ova).
#6 Objavljeno: 25. 1. 2021. 16:07:14
Ruben Sidranski

Ruben Sidranski

17 svidjanja u 465 postova.

Grupa: 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 Objavljeno: 25. 1. 2021. 16:59:57
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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,15 KiB) preuzeto 1625 put(ova).
#8 Objavljeno: 26. 1. 2021. 06:19:37
Thomas Stampa

Thomas Stampa

0 svidjanja u 6 postova.

Grupa: 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.... Fajl nije pronađen.Fajl nije pronađen.Fajl nije pronađen.
Norseman
#9 Objavljeno: 26. 1. 2021. 06:28:10
Thomas Stampa

Thomas Stampa

0 svidjanja u 6 postova.

Grupa: User

thank You very much for comments......
Norseman
#10 Objavljeno: 26. 1. 2021. 06:36:10
Thomas Stampa

Thomas Stampa

0 svidjanja u 6 postova.

Grupa: User

@ Jean Giraud super... Budapest39 is a great idea. I will try to use this way....
Norseman
#11 Objavljeno: 26. 1. 2021. 09:32:43
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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 Objavljeno: 26. 1. 2021. 13:06:49
Thomas Stampa

Thomas Stampa

0 svidjanja u 6 postova.

Grupa: User

eventuelly this:

saved with SS7030


Dynamics.sm (409,43 KiB) preuzeto 1633 put(ova).
Norseman
#13 Objavljeno: 26. 1. 2021. 14:45:59
Ruben Sidranski

Ruben Sidranski

17 svidjanja u 465 postova.

Grupa: 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 Objavljeno: 26. 1. 2021. 15:59:25
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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 Objavljeno: 26. 1. 2021. 16:18:32
Alvaro

Alvaro

1.139 svidjanja u 1.805 postova.

Grupa: 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,76 KiB) preuzeto 1567 put(ova).

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,84 KiB) preuzeto 1605 put(ova).

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 Objavljeno: 26. 1. 2021. 21:19:04
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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,6 KiB) preuzeto 1634 put(ova).
#17 Objavljeno: 26. 1. 2021. 23:40:42
Alvaro

Alvaro

1.139 svidjanja u 1.805 postova.

Grupa: 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,3 KiB) preuzeto 1696 put(ova).

Best regards.
Alvaro.
#18 Objavljeno: 27. 1. 2021. 04:58:04
Thomas Stampa

Thomas Stampa

0 svidjanja u 6 postova.

Grupa: 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
Norseman
  • Novi postovi
  • Nema novih postova