フィルターのクリア

What does it mean when they wrote something like this: f{t} = @(z) f_m(z, m(t)) :

2 ビュー (過去 30 日間)
Taguhi Hakobyan
Taguhi Hakobyan 2015 年 6 月 15 日
回答済み: Titus Edelhofer 2015 年 6 月 15 日
I'm new in matlab. Possibly you could suggest me some paragraphs or mention some names so I could read about it in more detail. thanks in advance

採用された回答

Titus Edelhofer
Titus Edelhofer 2015 年 6 月 15 日
Hi,
search the documentation for
function_handle
The first hit is what you are looking for. In short
f_m = @(z,c) z.^2 + c;
defines a function with one input argument. You can call it directly:
f_m(2, 42)
or use it to create another function calling it
f = @(z) f_m(z, 42);
Now you have a function of one parameter.
Titus

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMatrix Indexing についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by