how take a mathematical function from user

can you help me to understand what is the meanning of this line of code f=@(x,y) x./y; and what is the meaning of x./y ?

回答 (1 件)

Sara Boznik
Sara Boznik 2021 年 5 月 8 日

0 投票

./ means divide numbers because in matlab / means divide of matrix

1 件のコメント

Walter Roberson
Walter Roberson 2021 年 5 月 8 日
Right.
See also vectorize()

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeCreating and Concatenating Matrices についてさらに検索

タグ

質問済み:

2021 年 5 月 8 日

コメント済み:

2021 年 5 月 8 日

Community Treasure Hunt

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

Start Hunting!

Translated by