1 Pages (10 items)
linterp help - Messages
#1 Posted: 1/17/2024 10:19:48 AM
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 Posted: 1/17/2024 4:00:11 PM
Look for InterpBilinear() function.
You can find more info in Reference Book.
Regards
InterpBilinear.sm (8 KiB) downloaded 35 time(s).

You can find more info in Reference Book.
Regards
InterpBilinear.sm (8 KiB) downloaded 35 time(s).
#3 Posted: 1/17/2024 4:03:13 PM
ohh didn't know about that. big thanks.
#4 Posted: 1/17/2024 6:02:20 PM
Surface plot is especially coded for your request.
Jean
Interpolate [Linterp, Spline2D] Copy.sm (201 KiB) downloaded 22 time(s).
Jean
Interpolate [Linterp, Spline2D] Copy.sm (201 KiB) downloaded 22 time(s).
#5 Posted: 1/17/2024 8:45:37 PM
Using linterp() with a function is another way.
Function selects column according to input.
Regards
linterp_select.sm (8 KiB) downloaded 31 time(s).

Function selects column according to input.
Regards
linterp_select.sm (8 KiB) downloaded 31 time(s).
#6 Posted: 1/18/2024 10:10:49 AM
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 Posted: 1/18/2024 6:37:38 PM
#8 Posted: 1/18/2024 7:10:51 PM
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 KiB) downloaded 26 time(s).
#9 Posted: 1/18/2024 8:25:30 PM
#10 Posted: 1/20/2024 4:15:39 AM
WroteI want a more compact looking solution, if that makes sense.
Visit Samples for bidirectional interpolating Matrix.
Jean
1 Pages (10 items)
-
New Posts
-
No New Posts