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

2 ビュー (過去 30 日間)
Hikaru
Hikaru 2014 年 12 月 30 日
編集済み: Matt J 2014 年 12 月 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 Center および File ExchangeDynamic System Models についてさらに検索

タグ

タグが未入力です。

Community Treasure Hunt

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

Start Hunting!

Translated by