File Exchange

image thumbnail

Nep2rat

version 1.0.1 (39.9 KB) by Gian Maria Negri Porzio
Nep2rat is a tool to rationally approximate nonlinear matrix-valued functions, mainly aimed to solve nonlinear eigenvalue problems

1 Download

Updated 19 Jan 2021

From GitHub

View Version History

View license on GitHub

[Am, Bm, Rm] = nep2rat(F, Z)

returns the rational approximation Rm of the function F on the target set Z, and the linearized pencil (Am, Bm). The set Z must be given as a vector of points, while F could either be a function_handle or a struct, with fields:

F.coeffs: the matrix coefficients of F;
F.fun: the scalar functions that define f;

This structure mirrors the output of the NLEVP library. The default behaviour changes with the input F: if F is a function_handle, then nep2rat uses the "surrogate AAA with cyclic Leja--Bagby refinement" algorithm, while if F is a struct, it uses the "weighted AAA" algorithm. If the split form of F is available, we suggest to use the struct form of F as the input.

[Am, Bm, Rm, info] = nep2rat(F, Z, opts)

allows the user to specify many optional parameters, such as the precision of the approximation and the algorithms utilised. The output info is returns additional information, while opts is a structure with all the. An in-depth guide is contained in the help of nep2rat.

Cite As

Güttel, S., Negri Porzio, G.M. and Tisseur, F., 2020. Robust rational approximations of nonlinear eigenvalue problems. MIMS Eprints 2020.24

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!