Calculate power of exponential
Show older comments
How can i calculate
, if A=[8 7 0] and B=[2 12 1];
I tried this code:
A = [8 7 0];
B = [2 12 1];
C = exp(A)
C*B
Matlab keeps giving error: Inner matrix dimensions must agree.
Accepted Answer
More Answers (1)
Mike
on 23 Apr 2021
2 votes
C.*B
* by itself means matrix multiply
.* means multiply individual terms
Categories
Find more on Operators and Elementary Operations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!