If sigma is a real or complex scalar, the shift, the k eigenvalues nearest sigma, are computed. If sigma is 0, the k eigenvalues smallest in magnitude are computed. If sigma is not specified, the k eigenvalues largest in magnitude are computed. If k is not specified, k = min(n,6) eigenvalues are computed.Ī scalar shift or a two letter string. If B is not specified,Īn integer, the number of eigenvalues desired. The remaining input arguments are optional and can be given in practically any order: ArgumentĪ matrix the same size as A. flag = 0 indicates convergence flag = 1 indicates no convergence. With three output arguments, flag indicates whether or not the eigenvalues were computed to the desired tolerance. With one output argument, d is a vector containing k eigenvalues.With two output arguments, V is a matrix with k columns and D is a k-by- k diagonal matrix so that A*V = V*D or A*V = B*V*D. In the latter case, the second input argument must be n, the order of the problem. Solves the eigenvalue problem where the first input argument is either a square matrix (which can be full or sparse, symmetric or nonsymmetric, real or complex), or a string containing the name of an M-file which applies a linear operator to the columns of a given matrix. Only a few selected eigenvalues, or eigenvalues and eigenvectors, are computed, in contrast to eig, which computes all eigenvalues and eigenvectors. Solves the eigenvalue problem A*v = lambda*v or the generalized eigenvalue problem A*v = lambda*B*v. Start Part 1 of the module by clicking the Forward button (or, if you prefer, return to Contents by clicking the Back button).Eigs (MATLAB Function Reference) MATLAB Function Reference.Open the first file for this module by typing on the Matlab command line:.Open a diary file in Matlab in order to save your work.If you saved your files in a directory that is not already in Matlab's path, use the addpath command to add your directory to the Matlab path.Or use the utility BixHex to create a, and then run this application to extract the files.Īfter you have saved your. Use the utility StuffIt Expander to extract the files.Self-extracting archive for Macintosh (36K).Tar xvfp eigen.tarDownload this file now. In your command window (not the Matlab window), cd to the directory where you saved the file, and enter the command.Run your Windows zip program to unzip the archive.Zipped file for Windows - requires a zip/unzip program (3K).Save the extracted files in the directory of your choice.Run this file (double click on its name).Self-extracting zip file for Windows (27K).Then save the downloaded file to the directory of your choice, and follow the instructions for "unpacking" it. Please select from the following list your preferred form for downloading. Instructions for Downloading/Extracting Matlab Files If you are not sure, please read the detailed instructions following the table. If you know what file type you need and what to do with it, you may download now by selecting from the following table. The necessary files for this module have been "packaged" into a single file for downloading. Matlab often requires more than one ".m" file for all the steps in a module. Eigenvalues and Eigenvectors - Matlab VersionĮigenvalues and Eigenvectors Downloading Matlab Files
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |