Legendre Transformation of a one variable function
by Miguel D. B.
29 Jul 2006
(Updated 31 Jul 2006)
Given a function F and a vector x, returns two vectors of numbers xx=F'(x) and yy=F(x)-x*xx
|
Watch this File
|
| File Information |
| Description |
[xx,yy]=legendretrans01(F,x,h,varargin)
Given a function F and a vector x, the corresponding points of the legendre
transformation are numerically approximated and stored in the vectors xx and yy, where
xx=F'(x) and yy=F(x)-xx*x
If F is not defined for vectors, a loop is used to evaluate it at each point on x
F'(x) is approximated by centered finite differences |
| MATLAB release |
MATLAB 5.3 (R11)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (1) |
| 23 Mar 2011 |
Mimi
|
|
|
|
Contact us at files@mathworks.com