統計
MATLAB Answers
3 質問
0 回答
ランク
of 177,809
コントリビューション
0 問題
0 解答
スコア
0
バッジ数
0
コントリビューション
0 投稿
コントリビューション
0 パブリック チャネル
平均評価
コントリビューション
0 ハイライト
平均いいねの数
Feeds
質問
Hi i'm new to matlab and i'm wondering if anyone could tell me how to make the following matrix with only one command : a 4x4 matrix with the main diagonal 20
[20 0 0 0; 0 20 0 0; 0 0 20 0; 0 0 0 20]
13年弱 前 | 1 件の回答 | 0
1
回答質問
Hi i'm new to matlab and i'm wondering if anyone could tell me how to make the following matrix with only one command
20 0 0 0 0 20 0 0 0 0 20 0 0 0 0 20
13年弱 前 | 1 件の回答 | 0
1
回答質問
Hi, can someone help me generate a square matrix with all its elements one, exept its diagonal? As the following
ans = 2 1 1 1 1 3 1 1 1 1 4 1 1 1 1 5
13年弱 前 | 1 件の回答 | 0
