Using a loop to impose specific values
1 view (last 30 days)
Let's say I have a range of x going from -200 to + 200 and I want to force a function to take different initial conditions in these seperate regions. I.e., when x <= 0 we have say condition 1 and when x>0 we have condition 2.
I might not be explaining this terribly well but I feel an if or while loop may be required which imposes this.