MatFun

버전 1.0.1 (2.39 KB) 작성자: Stéphane Roussel
Applies a function to the specified dimensions of a matrix
다운로드 수: 50
업데이트 날짜: 2019/7/15

MATFUN Applies function to the specified dimensions of the matrix
A = MATFUN(FUN, MAT, DIM) applies the function specified by FUN to the dimensions DIM of the matrix MAT.
DIM is vector which maximum size is 3.

Example1:
A = rand(3,1000,1000);
% We want to compute the norm of the vector along the first dimension.
B = matfun(@norm, A, 1);
% B is a 1000x1000 matrix containing the norms of the vectors.

Example2:
A = rand(4,4,1000);
% We want apply the inverse function to all the 4x4 matrices
B = matfun(@inv, A, [1,2]);
% B is a 4x4x1000 matrix

인용 양식

Stéphane Roussel (2024). MatFun (https://github.com/Tetane/MatFun), GitHub. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2018b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Linear Algebra에 대해 자세히 알아보기
태그 태그 추가

Community Treasure Hunt

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

Start Hunting!

GitHub 디폴트 브랜치를 사용하는 버전은 다운로드할 수 없음

버전 게시됨 릴리스 정보
1.0.1

New image

1.0.0

이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.
이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.