代码搜索:sparse

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

代码结果 3,324
www.eeworm.com/read/257911/11907398

m grad_ccv.m

function [df, dg] = grad_ccv(x, baseMVA, bus, gen, gencost, branch, Ybus, Yf, Yt, V, ref, pv, pq, mpopt) %GRAD_CCV Evaluates gradients of objective function & constraints for OPF. % [df, dg] = grad
www.eeworm.com/read/257008/11961363

m grad_ccv.m

function [df, dg] = grad_ccv(x, baseMVA, bus, gen, gencost, branch, Ybus, Yf, Yt, V, ref, pv, pq, mpopt) %GRAD_CCV Evaluates gradients of objective function & constraints for OPF. % [df, dg] = gr
www.eeworm.com/read/151608/12188258

m exm051523_1.m

%exm051523_1.m n=5; SM1=sparse(1:n,1:n,-2*ones(1,n),n,n,n); SM2=sparse(2:n,1:n-1,ones(1,n-1),n,n,n-1); S1=SM1+SM2+SM2' e=ones(n,1); S2=spdiags([e,-2*e,e],[-1,0,1],n,n), SF=full(S1)
www.eeworm.com/read/250122/12430179

m exm051523_1.m

%exm051523_1.m n=5; SM1=sparse(1:n,1:n,-2*ones(1,n),n,n,n); SM2=sparse(2:n,1:n-1,ones(1,n-1),n,n,n-1); S1=SM1+SM2+SM2' e=ones(n,1); S2=spdiags([e,-2*e,e],[-1,0,1],n,n), SF=full(S1)
www.eeworm.com/read/123705/14616038

m genmat2.m

function [A,B,b]=genmat2(xy,el,a,b,s) %GENMAT2 Generates FEM2 matrices. % [A,B,b] = GENMAT2(NOD2XY,EL2NOD,ALPHA,BETA,S) % where NOD2XY contains the node points % and EL2NOD contains the tri
www.eeworm.com/read/216389/15015379

txt 06-20.txt

例6-20 issparse函数的使用。 解:在命令窗口中输入如下命令,并按Enter键确认。 >> v=[1 2 5 9 4 1 2 6]; >> S=diag(v,2) %生成矩阵S S = 0 0 1 0 0 0 0 0 0 0 0 0 0
www.eeworm.com/read/212602/15152058

m fm_syn.m

function fm_syn(flag) % FM_SYN defines Synchronous Machines % % FM_SYN(FLAG) % FLAG = 1 algebraic equations % FLAG = 2 algebraic Jacobians % FLAG = 3 differential equations % F
www.eeworm.com/read/212602/15152063

m fm_spf.m

function fm_spf % FM_SPF solve standard power flow by means of the NR method % and fast decoupled power flow (XB and BX variations) % with either a single or distributed slack bus model. %
www.eeworm.com/read/473505/6845145

m ex46.m

%《MATLAB及其在理工课程中的应用指南》第四章第六节演示程序 % 西安电子科技大学出版社出版 陈怀琛编著 1999年10月初版,2004年11月第二版 % x = [ 0 0 0 0 0 ;... 0 0 0 0.1302 0 ;...
www.eeworm.com/read/295431/8163915

m q46.m

%《MATLAB及在电子信息课程中的应用》第四章第六节演示程序q46 % 稀疏矩阵函数 % 电子工业出版社出版 陈怀琛 吴大正 高西全合著 2001年10月初版,2003年7月第二版 % x = [ 0 0 0 0 0 ;... 0 0 0 0.1302