No BSD License  

Highlights from
Tolerance Analysis of Electronic Circuits Using MATLAB

dydt=ps3(t,v,flag,A,B)
function dydt=ps3(t,v,flag,A,B)
% called by ODE function 
% Use vectorization
a=1:3;
vd(a)=A(a,1)*v(1)+A(a,2)*v(2)+A(a,3)*v(3)+B(a);
dydt=vd';

Contact us at files@mathworks.com