Analog Devices interview question

Write a MATLAB code to simulate the voltage response of the previous circuit.