Rank: Newbie
Groups: Registered
Joined: 09/05/2023(UTC) Posts: 8 Location: Manila
|
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. Edited by user 17 January 2024 22:02:09(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,128 Was thanked: 509 time(s) in 339 post(s)
|
Look for InterpBilinear() function. You can find more info in Reference Book. Regards InterpBilinear.sm (9kb) downloaded 9 time(s).Edited by user 17 January 2024 22:07:05(UTC)
| Reason: Not specified
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 09/05/2023(UTC) Posts: 8 Location: Manila
|
ohh didn't know about that. big thanks.
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,128 Was thanked: 509 time(s) in 339 post(s)
|
Using linterp() with a function is another way. Function selects column according to input. Regards linterp_select.sm (9kb) downloaded 7 time(s).
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 09/05/2023(UTC) Posts: 8 Location: Manila
|
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?
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 1,988 Was thanked: 1126 time(s) in 723 post(s)
|
|
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: GFDIntano From 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 (213kb) downloaded 1 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,128 Was thanked: 509 time(s) in 339 post(s)
|
Originally Posted by: GFDIntano From what I understand, InterBilinear() seems incapable of doing what I aim to do. Do you have any suggestions? On the contrary, InterpBilinear() does exactly what you seek. It interpolates both row and column values. PS: I added extra values to accommodate ≤ and ≥ boundaries. Regards
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: GFDIntano I want a more compact looking solution, if that makes sense.
Visit Samples for bidirectional interpolating Matrix. Jean
|
|
|
|
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.