代码搜索:sparse

找到约 3,324 项符合「sparse」的源代码

代码结果 3,324
www.eeworm.com/read/485012/6570587

m consfmin.m

function [g, geq, dg, dgeq] = consfmin(x, baseMVA, bus, gen, gencost, branch, areas, Ybus, Yf, Yt, mpopt, parms, ccost) %CONSFMIN Evaluates nonlinear constraints and their Jacobian for OPF. % [g, g
www.eeworm.com/read/485012/6570633

m dcopf.m

function [buso, geno, brancho, f, success, info, et] = dcopf(baseMVA, ... bus, gen, branch, areas, gencost, mpopt) %DCOPF Solves a DC optimal power flow. % % [bus, gen, branch, f
www.eeworm.com/read/480529/6665715

txt 06-14.txt

例6-14 用sparse函数将满矩阵转化为稀疏矩阵。 解:在命令窗口中输入如下命令,并按Enter键确认。 >> i=[5 2 4 7 1 3 2 6]; >> j=[2 4 3 7 2 5 1 8]; >> s=[8 1 0 5 1 2 4 3]; >> X=diag(s,-2) X = 0 0 0 0 0 0
www.eeworm.com/read/263516/11358365

m fm_nrlf.m

function conv = fm_nrlf(iter_max, tol, Show) % FM_NRLF solve power flow with locked ste variables % % CONV = FM_NRLF(ITERMAX,TOL) % ITERMAX = max number of iterations % TOL = conve
www.eeworm.com/read/263516/11358492

m fm_limit.m

function fm_limit % FM_LIMIT compute Limit-Induced Bifurcation (LIB) % by means of a Newton-Raphson routine. % % FM_LIMIT % % LIB.type: 1 = 'Vmax' for maximum voltage limit %
www.eeworm.com/read/263516/11359071

m fm_thload.m

function fm_thload(flag) % FM_THLOAD defines Thermostatically Controlled Loads % % FM_THLOAD(FLAG) % FLAG = 0 initialization % FLAG = 1 algebraic equations % FLAG = 2 algebrai
www.eeworm.com/read/263516/11359161

m fm_opfm.m

function fm_opfm %FM_OPFMR solves the OPF-based electricity market problem by means of % an Interior Point Method with a Merhotra Predictor-Corrector % or Newton direction techniqu
www.eeworm.com/read/263516/11359590

m gycall.m

function Gycall(a) global Bus DAE Settings if ~a.n, return, end V = DAE.V(a.bus); P0 = a.con(:,2); Q0 = a.con(:,5); ap = a.con(:,3); aq = a.con(:,6); bp = a.con(:,4); bq = a.con(:,7);
www.eeworm.com/read/347945/11623600

m fmincon_congp.m

function [g,geq,dg,dgeq] = fmincon_congp(x,prob) z = prob.A*x; expz = exp(z); g = prob.B*expz; g = log(g); if length(prob.h) > 0 geq = log(prob.h) + prob.G*x; dgeq = prob.G'; el
www.eeworm.com/read/347945/11624249

m see.m

function see(X,showfull) %SEE Displays internal structure of variable % % Shows the base matrices that build up the variable % % X = X0+x_1*X1+x_2*X2+... % % SEE(X) Disp