how to calculate lipschitz constant?
137 ビュー (過去 30 日間)
古いコメントを表示
For a one-dimensional signal, in order to quantitatively characterize the singularity of each point, how to calculate the Lipschitz constants of each point?
0 件のコメント
回答 (1 件)
Aleksi Kristian Winstén
2021 年 5 月 20 日
編集済み: Aleksi Kristian Winstén
2021 年 5 月 20 日
Hi,
this answer comes a bit late, but I wish someone still finds this information usefull.
Lipschits constant is defined as
From the mean value theoream one can see that
so at every point if the constant Lis greater or equal than the norm of the functions derivative, then L is the Lipschitz constant.
The procedure to find the Lipschitz constant is to calculate the derivative of the function and then check if the derivative function is bounded by some value L on the domain - - that is your Lipschits constant.
Usually the norm is the euclidean-norm
You can do the calculations with symbolic toolbox
syms x
f = sin(x); % here we define the function
df = diff(f) % here we calculate the derivative function of sin(x)
df = abs(df) % here we use the euclidean norm
fplot(df) % plots the abs(df). The function is clearly limited with upper bound M=1
% so the Lipschits constant is L >= 1
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Calculus についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!