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

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline OchkovVF  
#1 Posted : 26 September 2024 19:41:44(UTC)
OchkovVF


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 06/04/2023(UTC)
Posts: 425
Man
Russian Federation

Was thanked: 42 time(s) in 39 post(s)
See please the attach!
Wath is it with spline?
Spline-Mad.sm (1,000kb) downloaded 10 time(s).

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

Offline mkraska  
#2 Posted : 27 September 2024 08:59:30(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 2,035
Germany

Was thanked: 1167 time(s) in 746 post(s)
I think this is because lspline() requires equidistant x values and your's aren't.
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
thanks 1 user thanked mkraska for this useful post.
on 27/09/2024(UTC)
Offline OchkovVF  
#3 Posted : 27 September 2024 19:35:18(UTC)
OchkovVF


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 06/04/2023(UTC)
Posts: 425
Man
Russian Federation

Was thanked: 42 time(s) in 39 post(s)
Originally Posted by: mkraska Go to Quoted Post
I think this is because lspline() requires equidistant x values and your's aren't.


Thank you!
Yes, that's true. But I think it's a bug.
The values ​​should only be sorted in ascending order X!
There is no such bug in Mathcad.
Spline-bug.sm (13kb) downloaded 7 time(s).
Offline mkraska  
#4 Posted : 30 September 2024 04:42:01(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 2,035
Germany

Was thanked: 1167 time(s) in 746 post(s)
Originally Posted by: OchkovVF Go to Quoted Post
Originally Posted by: mkraska Go to Quoted Post
I think this is because lspline() requires equidistant x values and your's aren't.


Thank you!
Yes, that's true. But I think it's a bug.
The values ​​should only be sorted in ascending order X!
There is no such bug in Mathcad.
Spline-bug.sm (13kb) downloaded 7 time(s).


I'd not call it a bug. It is just a helper function of the Mathcad Toolbox Toolbox plugin, not meant being a full-featured multipurpose function. Yet, this restriction would be worth mentioning in the help text.

Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Users browsing this topic
Similar Topics
l_p_c spline ... Hermite (Samples)
by Jean Giraud 15/12/2023 07:19:44(UTC)
l_p_c splines Refreshed (Samples)
by Jean Giraud 13/12/2023 02:59:05(UTC)
Using splines to find the Area Under the Curve (Samples)
by Javier Ochoa 16/05/2023 02:34:26(UTC)
lspline help (Bugs & Problems)
by OchkovVF 22/04/2023 22:50:22(UTC)
lspline and linterp - where is an error? (Questions)
by OchkovVF 20/04/2023 08:27:00(UTC)
Vodka, Propane-Butane, Double spline interpolation (Samples)
by OchkovVF 10/04/2023 14:52:25(UTC)
Splines [l,p,c] (Samples)
by Jean Giraud 05/03/2023 17:46:29(UTC)
Spline [Bezier, bSpline] (Samples)
by Jean Giraud 07/01/2023 19:31:14(UTC)
Spline Accurate (Samples)
by Jean Giraud 06/01/2023 17:34:36(UTC)
Spline Revisit [Hermite +++] (Samples)
by Jean Giraud 14/04/2022 17:11:05(UTC)
Spline Project(s) (Samples)
by Jean Giraud 10/12/2021 15:21:11(UTC)
Spline B_Spline Revisit (Samples)
by Jean Giraud 17/10/2021 23:19:38(UTC)
Cubic Splines [l_p_c] (Samples)
by Jean Giraud 12/07/2021 16:19:29(UTC)
Spline Quadratic 20210513 (Samples)
by Jean Giraud 13/05/2021 17:18:19(UTC)
Splines [l_p_c_d] ToolBox (Samples)
by Jean Giraud 30/04/2020 18:37:26(UTC)
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.