matrix multiplication with different sizes
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
kriti
am 11 Jul. 2022
Kommentiert: kriti
am 11 Jul. 2022
i have two arrays of sizes n and n*k i want to multiply the the first element of first matrix with first k elements and so on.
2 Kommentare
Dyuman Joshi
am 11 Jul. 2022
Bearbeitet: Dyuman Joshi
am 11 Jul. 2022
"so on"
How exactly do you want to proceed? Multipy with the next k elements or the second element from first matrix? Give us an example with the following (n=4, k=5) -
y=spiral(4) %4*4 matrix
z=reshape(1:4*5,4,5) %4*5 matrix
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Matrices and Arrays finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!