R
Randy Yates
Guest
You can specify a vector of values (e.g., as an output expression in
the Analog Design Environment or an expression in the calculator)
by the syntax (for example)
v("/v_o" ?result "dc-dc")
But how do I select a specific value in that result set vector? For
example, I am simulating output voltage for a range of input voltages
and I would like to compute the gain by, e.g.,
G = (v_o(6) - v_o(4)) / (v_i(6) - v_i(4))
How to do?
--
% Randy Yates % "...the answer lies within your soul
%% Fuquay-Varina, NC % 'cause no one knows which side
%%% 919-577-9882 % the coin will fall."
%%%% <yates@ieee.org> % 'Big Wheels', *Out of the Blue*, ELO
http://www.digitalsignallabs.com
the Analog Design Environment or an expression in the calculator)
by the syntax (for example)
v("/v_o" ?result "dc-dc")
But how do I select a specific value in that result set vector? For
example, I am simulating output voltage for a range of input voltages
and I would like to compute the gain by, e.g.,
G = (v_o(6) - v_o(4)) / (v_i(6) - v_i(4))
How to do?
--
% Randy Yates % "...the answer lies within your soul
%% Fuquay-Varina, NC % 'cause no one knows which side
%%% 919-577-9882 % the coin will fall."
%%%% <yates@ieee.org> % 'Big Wheels', *Out of the Blue*, ELO
http://www.digitalsignallabs.com