Change the range of an array
2 views (last 30 days)
Rik on 22 Dec 2021
Essentially your question is this:
Given an array A with values ranging between 200 and 1000
How to find p0 and p1 such that B has values between 350 and 1000 after performing
I would suggest using polyfit or determining the values yourself. If you pick the two extreme values, that shouldn't be difficult.