How to create a transfer function with Gain K
it.mathworks.com › matlabcentral › answersSep 29, 2017 · But your question did not permit looping. Your question was specifically for the case where the k value is not determined at the time the transfer function was created. MATLAB does not support that. However, using the methods described above for creating tunable systems, it might possibly support doing whatever it is you are actually doing.