varspace(funx,xmin,​xmax,numx,varargin)

Optimizes domain distribution x for y=f(x) for efficient shape representation
ダウンロード: 27
更新 2018/1/23

ライセンスの表示

When exporting complex curves with regions of interest and others without, it becomes useful to adaptivley query the domain of the function as opposed to evenly distributing the point density via linspace. When adaptivley adjusting the spacing of the representative domain, fewer points can be used as opposed to an evenly distributed domain for equivalent representation.
In the example, the curve sin(x) is fairly linear about x=0 and accordingly fewer points are sample along this region whereas at x = +/- pi/2, more points are samples to account for the curvature.

引用

Alexander Laut (2024). varspace(funx,xmin,xmax,numx,varargin) (https://www.mathworks.com/matlabcentral/fileexchange/65808-varspace-funx-xmin-xmax-numx-varargin), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2016a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersNonlinear Optimization についてさらに検索
タグ タグを追加

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0

Published plot of example useage

Replaced function ends.m with equivalent from standard library.