代码搜索:sparse
找到约 3,324 项符合「sparse」的源代码
代码结果 3,324
www.eeworm.com/read/216389/15015344
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/212602/15151937
m fm_tcsc.m
function fm_tcsc(flag)
% FM_TCSC defines Synchronous Machines
%
% FM_TCSC(FLAG)
% FLAG = 0 initializations
% FLAG = 1 algebraic equations
% FLAG = 2 algebraic Jacobians
% FLAG
www.eeworm.com/read/212602/15152274
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 technique.
www.eeworm.com/read/473219/6848783
m recover.m
function varargout = recover(lmi_variables)
%RECOVER Create SDPVAR object using variable indicies
% Author Johan L鰂berg
% $Id: recover.m,v 1.7 2005/02/28 15:49:44 johanl Exp $
if isempty(lmi_v
www.eeworm.com/read/473219/6849142
m mrdivide.m
function y = mrdivide(X,Y)
%MRDIVIDE (overloaded)
% Author Johan L鰂berg
% $Id: mrdivide.m,v 1.4 2005/02/24 12:33:35 johanl Exp $
if (isa(Y,'sdpvar'))
if Y.n*Y.m == 1
y = X*Y^
www.eeworm.com/read/473219/6849182
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
www.eeworm.com/read/193277/8242555
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
www.eeworm.com/read/193277/8243383
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
www.eeworm.com/read/292936/8322116
h bitmat.h
/*----------------------------------------------------------------------
File : bitmat.h
Contents: bit matrix management
Author : Christian Borgelt
History : 2002.06.09 file created
www.eeworm.com/read/174450/9586984
fp ssmatrixvectorrect.fp
!!FP1.0
#Date:2004/1/4
#Sparse Matrix - Vector Multiplication
# X------- TEX0
# result - TEX1
#HERE Texture Unit----RECT
#Texture OF Vector X
TEX R0, f[TEX0], TEX0, RECT;
#previous result