Matrix multiply with a function
Ältere Kommentare anzeigen
i have two matrix with same columns and rows(matrix a and b). a is depth and b is land use index. each index value has a different equation and it is function of depth. i need to create a third matrix by substituting depth value to the functions.
depth d={2 3 4;7 2 5;1 2 5}
land use l={a b c;b c a;c b a}
a=0.5*depth+3
b=0.78*depth+4
c=0.1*depth+8
I really appreciate your cooperation. Thank you
4 Kommentare
KALYAN ACHARJYA
am 22 Okt. 2019
Sorry the question is not clear to me?
land use l={a b c;b c a;c b a}
Is this cell array with strings? Use??
Indikatop
am 22 Okt. 2019
Adam
am 22 Okt. 2019
Why is this flagged as Unclear? It has an accepted answer.
Andrei Bobrov
am 22 Okt. 2019
I'm fix :)
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Data Import from MATLAB finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!