代码搜索:remove
找到约 10,000 项符合「remove」的源代码
代码结果 10,000
www.eeworm.com/read/431224/8698150
m remove.m
function a = remove(a,idx)
if ~a.n, return, end
if isempty(idx), return, end
a.con(idx,:) = [];
a.bus(idx) = [];
a.vbus(idx) = [];
a.dat(idx) = [];
a.n = a.n - length(idx);
a.xp(idx) = [];
a.xq(idx)
www.eeworm.com/read/431224/8698214
m remove.m
function a = remove(a,idx,flag)
if ~a.n, return, end
if isempty(idx), return, end
switch flag
case 'zero'
ii = find(a.con(idx,4) == 0 & a.con(idx,5) == 0);
k = idx(ii);
case 'force'
k = idx;
www.eeworm.com/read/431224/8698343
m remove.m
function a = remove(a,idx)
if ~a.n, return, end
if isempty(idx), return, end
a.con(idx,:) = [];
a.fr(idx) = [];
a.to(idx) = [];
a.vfr(idx) = [];
a.vto(idx) = [];
a.u(idx) = [];
a.n = a.n - length(i
www.eeworm.com/read/431224/8698445
m remove.m
function a = remove(a,idx)
if ~a.n, return, end
if isempty(idx), return, end
a.con(idx,:) = [];
a.bus(idx) = [];
a.vbus(idx) = [];
a.n = a.n - length(idx);
a.x(idx) = [];
a.u(idx) = [];
a.Dw(idx) =
www.eeworm.com/read/431224/8698496
m remove.m
function a = remove(a,idx)
if ~a.n, return, end
if isempty(idx), return, end
a.con(idx,:) = [];
a.bus1(idx) = [];
a.bus2(idx) = [];
a.v1(idx) = [];
a.v2(idx) = [];
a.vr(idx) = [];
a.n = a.n - length
www.eeworm.com/read/431224/8698576
m remove.m
function a = remove(a,k)
if ~a.n, return, end
if isempty(k), return, end
a.con(k,:) = [];
a.bus(k) = [];
a.vbus(k) = [];
a.u(k) = [];
a.pg(k) = [];
a.qg(k) = [];
a.dq(k) = [];
a.n = a.n - length(k);
www.eeworm.com/read/431224/8698657
m remove.m
function a = remove(a,idx)
if ~a.n, return, end
if isempty(idx), return, end
a.con(idx,:) = [];
a.bus(idx) = [];
a.vbus(idx) = [];
a.wind(idx) = [];
a.n = a.n - length(idx);
a.omega_t(idx,:) = [];
a
www.eeworm.com/read/431224/8698755
m remove.m
function a = remove(a,idx)
if ~a.n, return, end
if isempty(idx), return, end
a.con(idx,:) = [];
a.syn(idx) = [];
a.n = a.n - length(idx);
a.delta_HP(idx) = [];
a.omega_HP(idx) = [];
a.delta_IP(idx)
www.eeworm.com/read/431224/8698799
m remove.m
function a = remove(a,idx)
if ~a.n, return, end
if isempty(idx), return, end
a.con(idx,:) = [];
a.bus1(idx) = [];
a.bus2(idx) = [];
a.v1(idx) = [];
a.v2(idx) = [];
a.n = a.n - length(idx);
a.alpha(i
www.eeworm.com/read/431224/8698863
m remove.m
function a = remove(a,idx)
if ~a.n, return, end
if isempty(idx), return, end
for i = 1:length(idx)
jdx = find(a.ty1 == idx(i));
if jdx
a.ty1(jdx) = [];
end
jdx = find(a.ty2 == idx(i));