How to use inner product between two symbolic matricies in MuPAD Notebook?

3 views (last 30 days)
I have two symbolic matrices in MuPAD (suppose A and B). How can I have A.*B in symbolic type. I mean the inner product of two matrices but in symbolic way? Thanks in advance.

Answers (1)

Walter Roberson
Walter Roberson on 31 Jan 2014
Inside MuPad, Matrix product is "*"
For example,
evalin(symengine, 'A * B')
The printable function name of "*" is _mult so you could also use
feval(symengine, '_mult', A, B)
if your matrices happen to be in MATLAB space. But in that situation, where the variables were in MATLAB space and you wanted the result in MATLAB space, you would use
A * B
at the MATLAB level.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!