1 страниц (11 вхождений)
What is the matrix function to find the extrapolated value from a given 2-dimension table - Сообщения
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?


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
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.
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 КиБ) скачан 154 раз(а).
1 пользователям понравился этот пост
Tuan Nguyen 21.04.2021 19:04:00
... 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 КиБ) скачан 135 раз(а).
Construct rough data table, spline at will, plot is most delightful.
How do you manage ... Jean
SplineRectangularMatrix Isentropic Surface.sm (457 КиБ) скачан 135 раз(а).
1 пользователям понравился этот пост
Tuan Nguyen 21.04.2021 19:04:00
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 КиБ) скачан 154 раз(а).
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?
WroteSee you soon tomorrow ... Jean.
... here is, play with rotation.
Spline Matrix Tutorial RECTANGULAR Surface Plot Example.sm (23 КиБ) скачан 130 раз(а).
1 пользователям понравился этот пост
Tuan Nguyen 22.04.2021 14:42:00
WroteWroteSee you soon tomorrow ... Jean.
... here is, play with rotation.
Spline Matrix Tutorial RECTANGULAR Surface Plot Example.sm (23 КиБ) скачан 130 раз(а).
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.

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 КиБ) скачан 139 раз(а).
Without touching the function you can enforce constant extrapolation by repeating the first or last rows or columns of data.

surface.sm (18 КиБ) скачан 139 раз(а).
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
Me feeling dumb. Thanks, Jean and MKraska
1 страниц (11 вхождений)
-
Новые сообщения
-
Нет новых сообщений