The reason why the answer is zero is because of the specific way the "Variable Time Delay" block is treated during linearization. The input to this block is not meant to be used as "Input perturbation" and as a result the linearization is not accurate. For an alternative implementation, please look at the attached model. As opposed to using the "Variable Time Delay" block, one could use the "Clock" block and add or subtract the delay time as necessary. In this approach, when the variable time delay is set as "Input perturbation", the result is the expected one. The example models the linearization of "y = sin(t-t0)" where "t0" is the value of the variable time delay.
Need a Custom Version or Complete Simulation for This Problem?
Our 500+ PhD engineers build, debug, and optimize working MATLAB scripts and Simulink (.slx) models tailored to your exact assignment rubrics with zero plagiarism.
Explore similar technical troubleshooting questions and verified MATLAB solutions: