1 страниц (10 вхождений)
linterp help - Сообщения
#1 Опубликовано: 17.01.2024 10:19:48
I'm pretty sure it's possible and saw it somewhere here. How do I put this in a single matrix, along with the descriptors like "roof angle, "1", "2E",...etc. and use it for interpolation. Well I can get by using a single column matrix as a work around but I guess I want a more compact looking solution, if that makes sense.

#2 Опубликовано: 17.01.2024 16:00:11
Look for InterpBilinear() function.
You can find more info in Reference Book.
Regards
InterpBilinear.sm (8 КиБ) скачан 35 раз(а).

You can find more info in Reference Book.
Regards
InterpBilinear.sm (8 КиБ) скачан 35 раз(а).
#3 Опубликовано: 17.01.2024 16:03:13
ohh didn't know about that. big thanks.
#4 Опубликовано: 17.01.2024 18:02:20
Surface plot is especially coded for your request.
Jean
Interpolate [Linterp, Spline2D] Copy.sm (201 КиБ) скачан 22 раз(а).
Jean
Interpolate [Linterp, Spline2D] Copy.sm (201 КиБ) скачан 22 раз(а).
#5 Опубликовано: 17.01.2024 20:45:37
Using linterp() with a function is another way.
Function selects column according to input.
Regards
linterp_select.sm (8 КиБ) скачан 31 раз(а).

Function selects column according to input.
Regards
linterp_select.sm (8 КиБ) скачан 31 раз(а).
#6 Опубликовано: 18.01.2024 10:10:49
I'm quite satisfied with the InterpBilinear function. I'm exploring Jean's and overlord's additional suggestion but still it was already solved for me. Another question is that would that still work if I had to do interpolation in both the column values and row values such as in case below.

From what I understand, InterBilinear() seems incapable of doing what I aim to do. Do you have any suggestions?
From what I understand, InterBilinear() seems incapable of doing what I aim to do. Do you have any suggestions?
#7 Опубликовано: 18.01.2024 18:37:38
#8 Опубликовано: 18.01.2024 19:10:51
WroteFrom what I understand, InterBilinear() seems incapable of doing what I aim to do. Do you have any suggestions ?
If, I understand your request,
ForLoop algo style will do ... last example page 10.
Jean
Interpolate [Linterp, Spline2D].sm (212 КиБ) скачан 26 раз(а).
#9 Опубликовано: 18.01.2024 20:25:30
#10 Опубликовано: 20.01.2024 04:15:39
WroteI want a more compact looking solution, if that makes sense.
Visit Samples for bidirectional interpolating Matrix.
Jean
1 страниц (10 вхождений)
-
Новые сообщения
-
Нет новых сообщений