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

1 view (last 30 days)
.

Answers (1)

Matt J
Matt J on 30 Dec 2014
Edited: Matt J on 30 Dec 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

Categories

Find more on Multidimensional Arrays in Help Center and File Exchange

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!