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

2 Ansichten (letzte 30 Tage)
Adnan Shafi
Adnan Shafi am 1 Dez. 2015
Beantwortet: PChoppala am 2 Dez. 2015
matrix creating problem how to use loops n matlab

Antworten (1)

PChoppala
PChoppala am 2 Dez. 2015
[P1,P2]=meshgrid(1:4,1:2)
result=P1+P2

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by