Im just learning matlab. I was wondering how can we make Matlab functions to perform $ABx$ is two ways: $(AB)x $ and $A(Bx)$ where $A,B$ are $n \times n$ matrices. I am stuck on trying to write these codes as I am not familiar with programming. Can someone help me?
Asked
Active
Viewed 35 times