MATLAB BUILDER JA 2 Uživatelská příručka Strana 247

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 292
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 246
Matrix Math Example
%CHOLESKY Cholesky factorization of A.
% L = CHOLESKY(A) returns the Cholesky factorization of A.
% This file is used as an example for the MATLAB
% Builder for Java product.
% Copyright 2001-2006 The MathWorks, Inc.
L = chol(A);
ludecomp.m
function [L,U] = ludecomp(A)
%LUDECOMP LU factorization of A.
% [L,U] = LUDECOMP(A) returns the LU factorization of A.
% This file is used as an example for the MATLAB
% Builder for Java product.
% Copyright 2001-2006 The MathWorks, Inc.
[L,U] = lu(A);
qrdecomp.m
function [Q,R] = qrdecomp(A)
%QRDECOMP QR factorization of A.
% [Q,R] = QRDECOMP(A) returns the QR factorization of A.
% This file is used as an example for the MATLAB
% Builder for Java product.
% Copyright 2001-2006 The MathWorks, Inc.
[Q,R] = qr(A);
Matrix Math Example: Step-by-Step Procedure
1 Ifyouhavenotalreadydoneso,copythefilesforthisexampleasfollows:
a. Copy the following directory that ships with MATLAB to your work
directory:
matlabroot\toolbox\javabuilder\Examples\MatrixMathExample
5-17
Zobrazit stránku 246
1 2 ... 242 243 244 245 246 247 248 249 250 251 252 ... 291 292

Komentáře k této Příručce

Žádné komentáře