Assuming that "cp" refers to the control performance and "x" refers to some input, the steps to graph "cp" as a function of "x" in Matlab are as follows:
main.m19 chars2 lines
main.m98 chars3 lines
main.m69 chars4 lines
main.m193 chars8 lines
Note that the above code assumes that the input "x" is in the time domain. If the input "x" is in the Laplace domain, the code would be different.
gistlibby LogSnag