Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline Thomas Stampa  
#1 Posted : 25 January 2021 12:35:27(UTC)
Thomas Stampa

Rank: Newbie

Groups: Registered
Joined: 30/10/2016(UTC)
Posts: 6
Man
Germany
Location: Dresden

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

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline Jean Giraud  
#2 Posted : 25 January 2021 13:57:41(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: Thomas Stampa Go to Quoted Post
need some Help please.
Thanks Thomas

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

Offline Jean Giraud  
#3 Posted : 25 January 2021 18:12:23(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
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.

Offline Jean Giraud  
#4 Posted : 25 January 2021 21:15:56(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
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

Offline Jean Giraud  
#5 Posted : 25 January 2021 21:42:30(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
... this one plots the Fourier derivative.

Fourier Budapest39 Smoothing DERIVATIVE.sm (41kb) downloaded 8 time(s).
Offline ElSid  
#6 Posted : 25 January 2021 22:07:14(UTC)
ElSid


Rank: Advanced Member

Groups: Registered
Joined: 05/03/2009(UTC)
Posts: 433
Man
United States
Location: USA

Was thanked: 17 time(s) in 15 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
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.
Offline Jean Giraud  
#7 Posted : 25 January 2021 22:59:57(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
... 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 (59kb) downloaded 6 time(s).
Offline Thomas Stampa  
#8 Posted : 26 January 2021 12:19:37(UTC)
Thomas Stampa

Rank: Newbie

Groups: Registered
Joined: 30/10/2016(UTC)
Posts: 6
Man
Germany
Location: Dresden

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....Good Good7030.png7610.png LF_Aufschaukeln_4_Pers_Personenanregung_Fluchttreppe_allg__optional_getilgt.sm (408kb) downloaded 10 time(s).
Offline Thomas Stampa  
#9 Posted : 26 January 2021 12:28:10(UTC)
Thomas Stampa

Rank: Newbie

Groups: Registered
Joined: 30/10/2016(UTC)
Posts: 6
Man
Germany
Location: Dresden

thank You very much for comments......
Offline Thomas Stampa  
#10 Posted : 26 January 2021 12:36:10(UTC)
Thomas Stampa

Rank: Newbie

Groups: Registered
Joined: 30/10/2016(UTC)
Posts: 6
Man
Germany
Location: Dresden

@ Jean Giraud super... Budapest39 is a great idea. I will try to use this way....
Offline Jean Giraud  
#11 Posted : 26 January 2021 15:32:43(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: Thomas Stampa Go to Quoted Post
@ 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
Offline Thomas Stampa  
#12 Posted : 26 January 2021 19:06:49(UTC)
Thomas Stampa

Rank: Newbie

Groups: Registered
Joined: 30/10/2016(UTC)
Posts: 6
Man
Germany
Location: Dresden

eventuelly this:

saved with SS7030


Dynamics.sm (410kb) downloaded 10 time(s).
Offline ElSid  
#13 Posted : 26 January 2021 20:45:59(UTC)
ElSid


Rank: Advanced Member

Groups: Registered
Joined: 05/03/2009(UTC)
Posts: 433
Man
United States
Location: USA

Was thanked: 17 time(s) in 15 post(s)
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

Edited by user 26 January 2021 20:49:22(UTC)  | Reason: Added W.fourier comment

Offline Jean Giraud  
#14 Posted : 26 January 2021 21:59:25(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: Thomas Stampa Go to Quoted Post
eventually this:
saved with SS7030

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


Offline Razonar  
#15 Posted : 26 January 2021 22:18:32(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,356
Uruguay

Was thanked: 815 time(s) in 516 post(s)
Originally Posted by: Thomas Stampa Go to Quoted Post
.... 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 (31kb) downloaded 12 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 (10kb) downloaded 11 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.
Offline Jean Giraud  
#16 Posted : 27 January 2021 03:19:04(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
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 (66kb) downloaded 5 time(s).
Offline Razonar  
#17 Posted : 27 January 2021 05:40:42(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,356
Uruguay

Was thanked: 815 time(s) in 516 post(s)
Originally Posted by: Razonar Go to Quoted Post
Originally Posted by: Thomas Stampa Go to Quoted Post
.... 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 (409kb) downloaded 9 time(s).

Best regards.
Alvaro.
Offline Thomas Stampa  
#18 Posted : 27 January 2021 10:58:04(UTC)
Thomas Stampa

Rank: Newbie

Groups: Registered
Joined: 30/10/2016(UTC)
Posts: 6
Man
Germany
Location: Dresden

Dear Jean
Dear Alvaro,

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

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

Best regards , Thomas
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.