PIECEWISE_EVAL: evaluates a piecewise function of x
usage: y = PIECEWISE_EVAL(x,breakpoints,funs)
arguments (input)
x - vector or array of points to evaluate though the function
breakpoints - list of n breakpoints, -inf and +inf are implicitly
LINEINTRGAL Line Integral in a 2D Vector Field.
LINEINTRGAL(X,Y,U,V,C) computes the line integral along the lines given in cell array C.
X and Y define the coordinates of a rectangular grid over which
U and V are defined. X and Y must be monotonic and 2D plaid as
% produced by MESHGRID. X, Y, U, and V must all be the same size.
計(jì)算廣義分形維數(shù)的matlab源程序。希望對(duì)大家有用!
函數(shù)形式:function [dq,rq]=fdim(q,x,trace)
不同q值下得到不同定義的分形維,如:q=0 is Hausdorf, q=1 is Information, q=2 is Correlation, etc.具體說明見程序。