フィルターのクリア

What does the symbol @ in these products ?

1 回表示 (過去 30 日間)
Susan Arnold
Susan Arnold 2016 年 2 月 25 日
コメント済み: Susan Arnold 2016 年 2 月 25 日
The first line represents probably the dot product:
dotp = @(a,b)sum(a.*b); % Dot Product
The second line represents probably the cross product:
crossp = @(a,b)a(1,:).*b(2,:)-a(2,:).*b(1,:); % Cross Product
Are the above Matlab's lines work exactly as :
dotp = dot(a,b); crossp = cross(a,b);
Third related question is about the normalization
normalize = @(a)a./repmat(sqrt(sum(a.^2)), [2 1]);
So the core question is : what does @ symbol in the above operations ?!!

採用された回答

Torsten
Torsten 2016 年 2 月 25 日
編集済み: Torsten 2016 年 2 月 25 日
  1 件のコメント
Susan Arnold
Susan Arnold 2016 年 2 月 25 日
Thank you very much Torsten :)

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

その他の回答 (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