Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
This is a process controls question.
I am having an issue with creating a program that will place various values into a function while maintaining a variable in the function.
Screenshot of what I have written:
As you can see, it is only doing the first value for Kc here. I need to be able to call the individual elements of the matrix to graph them. I did a long hand version of this that has the graph attached below to kind of give an idea of what I am after.
Of course, I am taking an inverse laplace after the fact as well. Should that also be included into the code or will it be easier to do that after the fact?
Any help here would be appreciated, I am not sure what I am missing here...
Solved! Go to Solution.
There is no need to precalculate all 101 functions.
BTW, if you use a for loop, you do not need to initialize "i" and you should not increment "i" yourself.
Maybe the following is of help:
Werner
There is no need to precalculate all 101 functions.
BTW, if you use a for loop, you do not need to initialize "i" and you should not increment "i" yourself.
Maybe the following is of help:
Werner
Thanks! That should definitely be sufficient, and much better than what I was doing beforehand!