代码搜索:remove
找到约 10,000 项符合「remove」的源代码
代码结果 10,000
www.eeworm.com/read/384940/8831351
m remove.m
function a = remove(a,k)
global DAE
if ~a.n, return, end
if isempty(k), return, end
if ~isempty(DAE.Gk)
DAE.Gk(a.bus(k)) = 0;
end
a.con(k,:) = [];
a.bus(k) = [];
a.vbus(k) = [];
a.u(k) = [];
a.pq
www.eeworm.com/read/384940/8831477
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.T(idx) = [];
a.x(idx) = [];
a.G(idx) = [
www.eeworm.com/read/384940/8831533
m remove.m
function a = remove(a,idx)
if ~a.n, return, end
if isempty(idx), return, end
a.con(idx,:) = [];
a.q(idx) = [];
a.q1(idx) = [];
a.bus(idx) = [];
a.vbus(idx) = [];
a.u(idx) = [];
a.n = a.n - length(id
www.eeworm.com/read/384940/8831632
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.u(idx) = [];
a.init(idx) = [];
www.eeworm.com/read/384940/8831688
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));
www.eeworm.com/read/384940/8831754
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.dat(idx) = [];
a.n = a.n - length(idx);
a.x(idx,:) = [];
a.w(idx,:) = [];
a.u(idx)
www.eeworm.com/read/384940/8831894
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.slip(idx) = [];
a.e1r(idx) = [];
a.e1m(i
www.eeworm.com/read/384940/8832005
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/384940/8832124
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/384940/8832238
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