matrix log of certain columns
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Antonio Melieni
am 1 Apr. 2019
Kommentiert: Antonio Melieni
am 1 Apr. 2019
Hi :)
I have to matrices 527040x4 and 527040x4
now i want to calc the log(m1c1) + log(m2c1), log(m1c2)+log(m2c2), log(m1c3)+log(m2c3) and log(m1c4)+log(m2c4)
anybody an idea :)
0 Kommentare
Akzeptierte Antwort
Guillaume
am 1 Apr. 2019
Simply,
result = log(matrix1) + log(matrix2);
then, result(:, 1) is your log(m1c1) + log(m2c1), result(:, 2) is your log(m1c2) + log(m2c2), etc.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!