Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Use matrix as a function

조회 수: 3 (최근 30일)
Cesar Ramirez
Cesar Ramirez 2019년 3월 18일
마감: MATLAB Answer Bot 2021년 8월 20일
Hi, I want to use a matrix as a function , something like this
m = [2 0 1; 4 3 5; 1 0 2; 3 1 10];
f = @(x,y,z) norm(
Where m is my matrix, and I want to use that inside f. I read that using norm can handle it, but dont know hot to properly use it.
  댓글 수: 2
madhan ravi
madhan ravi 2019년 3월 18일
Jan
Jan 2019년 3월 18일
norm calculates the matrix norm. It is not clear, if you need this. Please edit the question and mention, what you want to do with the matrix.

답변 (0개)

이 질문은 마감되었습니다.

제품


릴리스

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by