1 страниц (11 вхождений)
What is the matrix function to find the extrapolated value from a given 2-dimension table - Сообщения
#1 Опубликовано: 21.04.2021 16:46:53
Is there such matrix function to help me get the coefficient Cf based on ratio s/h and B/s from given table in matrix form?


#2 Опубликовано: 21.04.2021 17:38:34
WroteIs there such matrix function to help me get the coefficient Cf based on ratio s/h and B/s from given table in matrix form?
You can either use linterp() or InterpBilinear().
They can also find an interpolated value between title numbers.
Please look at the Reference Book for further information.
Regards
#3 Опубликовано: 21.04.2021 18:05:55
WroteWroteIs there such matrix function to help me get the coefficient Cf based on ratio s/h and B/s from given table in matrix form?
You can either use linterp() or InterpBilinear().
They can also find an interpolated value between title numbers.
Please look at the Reference Book for further information.
Regards
Thank you. Found it here. https://en.smath.com/forum/yaf_postst17672_Interpolate-Matrix.aspx
Learn new things every day.
#4 Опубликовано: 21.04.2021 18:24:29
WroteIs there such matrix function to help me get
the coefficient Cf based on ratio s/h and B/s
from given table in matrix form?
Spline(M,x,y) is universal.
Construct 1/1 from the given example, forget decoration <, >
Just for interpolation, you don't need the rotation system.
Cheers ... Jean
Spline Matrix Tutorial RECTANGULAR Surface Plot.sm (22 КиБ) скачан 49 раз(а).
1 пользователям понравился этот пост
Tuan Nguyen 21.04.2021 19:04:00
#5 Опубликовано: 21.04.2021 18:33:04
... nice example done for Smath Community visitor.
Construct rough data table, spline at will, plot is most delightful.
How do you manage ... Jean
SplineRectangularMatrix Isentropic Surface.sm (457 КиБ) скачан 31 раз(а).
Construct rough data table, spline at will, plot is most delightful.
How do you manage ... Jean
SplineRectangularMatrix Isentropic Surface.sm (457 КиБ) скачан 31 раз(а).
1 пользователям понравился этот пост
Tuan Nguyen 21.04.2021 19:04:00
#6 Опубликовано: 21.04.2021 19:13:21
WroteWroteIs there such matrix function to help me get
the coefficient Cf based on ratio s/h and B/s
from given table in matrix form?
Spline(M,x,y) is universal.
Construct 1/1 from the given example, forget decoration <, >
Just for interpolation, you don't need the rotation system.
Cheers ... Jean
Spline Matrix Tutorial RECTANGULAR Surface Plot.sm (22 КиБ) скачан 49 раз(а).
Beautiful. I love the way you present all math problems in such a lovely form.
Even though it is a very rare case, when x and/or y values exceed the range in my posted table the function will return the value more or less than it should be because I think the table cap the values. I wanted to make changes to the Spline function to reflect this but my limited knowledge in programing and Smath prevents me from doing that. Any suggestions?
#7 Опубликовано: 22.04.2021 13:50:04
WroteSee you soon tomorrow ... Jean.
... here is, play with rotation.
Spline Matrix Tutorial RECTANGULAR Surface Plot Example.sm (23 КиБ) скачан 29 раз(а).
1 пользователям понравился этот пост
Tuan Nguyen 22.04.2021 14:42:00
#8 Опубликовано: 22.04.2021 14:47:20
WroteWroteSee you soon tomorrow ... Jean.
... here is, play with rotation.
Spline Matrix Tutorial RECTANGULAR Surface Plot Example.sm (23 КиБ) скачан 29 раз(а).
Awesome. When x=70, y=0.5, I need it to be 1.75 per code because x>45 but the function gives me 1.83. How would I modify the code for Spline to achieve this.

#9 Опубликовано: 22.04.2021 15:37:25
Obviously the function uses linear extrapolation beyond the limits of the data array.
Without touching the function you can enforce constant extrapolation by repeating the first or last rows or columns of data.

surface.sm (18 КиБ) скачан 25 раз(а).
Without touching the function you can enforce constant extrapolation by repeating the first or last rows or columns of data.
surface.sm (18 КиБ) скачан 25 раз(а).
Martin Kraska
Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 пользователям понравился этот пост
Tuan Nguyen 22.04.2021 18:37:00
#10 Опубликовано: 22.04.2021 16:46:35
1 пользователям понравился этот пост
Tuan Nguyen 22.04.2021 18:37:00
#11 Опубликовано: 22.04.2021 18:41:11
Me feeling dumb. Thanks, Jean and MKraska
1 страниц (11 вхождений)
-
Новые сообщения
-
Нет новых сообщений