Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

Use matrix as a function

4 visualizzazioni (ultimi 30 giorni)
Cesar Ramirez
Cesar Ramirez il 18 Mar 2019
Chiuso: MATLAB Answer Bot il 20 Ago 2021
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 Commenti
madhan ravi
madhan ravi il 18 Mar 2019
Jan
Jan il 18 Mar 2019
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.

Risposte (0)

Questa domanda è chiusa.

Prodotti


Release

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by