How does this matlab function works?
2 ビュー (過去 30 日間)
古いコメントを表示
Could someone please explain how this function works in defining the matrices
For example,
B=zeros(size(A,1),1); C=eye(size(A));
0 件のコメント
採用された回答
Azzi Abdelmalek
2014 年 1 月 22 日
編集済み: Azzi Abdelmalek
2014 年 1 月 22 日
doc size
doc zeros
doc eye
You can also try an example
>> A=[1 2 3;4 5 6]
B=zeros(size(A,1),1)
C=eye(size(A))
A =
1 2 3
4 5 6
B =
0
0
C =
1 0 0
0 1 0
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Creating and Concatenating Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!