The op-amp circuit measures the changes of temperature in a system. The output voltage is given by v0(t) = -R(t)vi(t). Suppose that the temperature in the system changes cyclically after t = 0, so that R(t) = [1 +0.5 cos(20πt)] u(t) and let the input voltage be vi(t) = 1 volt.
Assuming that the switch closes at t0 = 0 sec, use MATLAB to plot the output voltage v0(t) for 0 ≤t ≤0.2 sec in time intervals of 0.01 sec.© BrainMass Inc. brainmass.com June 25, 2018, 6:18 am ad1c9bdddf
Here a problem related to variation of resistance with temperature (in-turn with time) is solved using Matlab by plotting it within given time duration.