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

2 次查看(过去 30 天)
.

回答(1 个)

Matt J
Matt J 2014-12-30
编辑:Matt J 2014-12-30
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

类别

Help CenterFile Exchange 中查找有关 Dynamic System Models 的更多信息

标签

尚未输入任何标签。

Community Treasure Hunt

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

Start Hunting!

Translated by