Define a matrix A of dimension 2*4 whose (i , j) entry is A(i , j)=i+j

7 ビュー (過去 30 日間)
Adnan Shafi
Adnan Shafi 2015 年 12 月 1 日
回答済み: PChoppala 2015 年 12 月 2 日
matrix creating problem how to use loops n matlab
  2 件のコメント
the cyclist
the cyclist 2015 年 12 月 1 日
Thorsten
Thorsten 2015 年 12 月 1 日
Is this homework? What have you tried so far?

サインインしてコメントする。

回答 (1 件)

PChoppala
PChoppala 2015 年 12 月 2 日
[P1,P2]=meshgrid(1:4,1:2)
result=P1+P2

カテゴリ

Help Center および File ExchangeReport Generator Utilities についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by