MATLAB BUILDER JA 2 Guida Utente Pagina 247

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 292
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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
Vedere la pagina 246
1 2 ... 242 243 244 245 246 247 248 249 250 251 252 ... 291 292

Commenti su questo manuale

Nessun commento