how to create a function that takes a matrix and how to call it ?

2 visualizaciones (últimos 30 días)
Hikaru
Hikaru el 30 de Dic. de 2014
Editada: Matt J el 30 de Dic. de 2014
.

Respuestas (1)

Matt J
Matt J el 30 de Dic. de 2014
Editada: Matt J el 30 de Dic. de 2014
The INPUT function, e.g.,
>> A=input('\n Give me a matrix: ')
Give me a matrix: [1 2;3 4]
A =
1 2
3 4

Categorías

Más información sobre Dynamic System Models en Help Center y File Exchange.

Etiquetas

Aún no se han introducido etiquetas.

Community Treasure Hunt

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

Start Hunting!

Translated by