Electsys.m
上传用户:eighthdate
上传日期:2014-05-24
资源大小:270k
文件大小:0k
源码类别:

其他行业

开发平台:

Matlab

  1. function xdot = electsys(t,x);   % returns the state derivatives
  2. V = 1;                          % Step input
  3. R =1.4; L = 2; C = 0.32;
  4. xdot = [x(2)/C ; 1/L*( V - x(1) - R*x(2) ) ];