% Obtain the Laplace Transform of the source-to-detector transfer of the network % source('V1'); % The independent source 'V1' is assigned as signal source detector('V_out'); % The voltage between node 'out' and node '0' is assigned as detector voltage gainType('gain'); % The gain from source to load is the desired transfer dataType('laplace'); % The Laplace Transform is the data we need % Note: the simulation type is still 'symbolic', we didn't change it gainLaplace = execute(); % The execution result (structured array) is assigned to the variable 'gainLaplace' % We will unpack the structured array since we only need the expression: gainLaplaceExpr = gainLaplace.results(1); htmlPage('Laplace Transform'); % Create a new html page. head2html('Laplace transform of the gain'); % Put a heading on it text2html('The Laplace Transform of the gain is found as:'); % Put some text on the page syms('V_out', 'V_1'); % Define symbolic variables for the left hand side of the equation eqn2html(V_out/V_1, gainLaplaceExpr); % Place the equation on the page.