필터 지우기
필터 지우기

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일

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Matrix Indexing에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by