Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
This is a problem that I've been working on for some time. It has been the subject of some of my previous threads (in case it looks familiar). I have developed a working model in Matlab and am now trying to develop its equivalent in Mathcad. The Matlab model and results are attached below as well as the Mathcad model.
As you can see pretty much all of the Mathcad results show variation from the expected results either in magnitude or in pattern (inverted curve rather than normal curve). Also there is an obvious issue with the Mathcad model not solving over the lower half of the range of x. I have reviewed the model several times and it appears to me that the problem is related to the numerical approach, i.e. the 'for' block.
Any help in diagnosing the issue and in solving it would be great!
This shows the expected behavior over the range of x
This shows the expected behavior over the range of i