Solve Error in Symbolic Matrix

hİ, solver returns this for syms matrix forms. How should I use solver?
syms K11 [3 3] matrix
syms deltat [1 1] matrix
solve([K11+K11==deltat*K11],[deltat])
gives
Check for incorrect argument data type or missing argument in call to function 'solve'.

10 Comments

Why are you writing matrix while defining the variables?
in R2021a this is a new option. They are matrices and matlab applies martix rules. And they are symbols
Oh, Don't know about that. Anyways, here's what I have done. Is this what you want?
No, thank you very much
solve() is not defined for symmatrix() yet.
solve(symmatrix2sym([K11+K11==deltat*K11]),symmatrix2sym(deltat))
Apologies for hijacking the problem, but is there a way to know what new functions have been to added to the latest version of MATLAB? @Walter Roberson
@Dyuman Joshi as far as I am aware you can get information on new features and funcitons in a toolbox from its Release Notes
@Swatantra Mahato How to know which toolboxes have been introduced with the newest release? In the release notes of the version?
In R2021a, the new toolboxes are:
@Walter Roberson Thank you for the link, it is exactly what I was looking for!

Sign in to comment.

 Accepted Answer

Hi Ahmet,
You can execute the following command (as mentioned under Limitations section for the "symmatrix" funciton) to find the functions which currently accept symbolic matrix variables as input
methods symmatrix
solve currently does not support symbolic matrix inputs (as also mentioned by @Walter Roberson)
Hope this helps

More Answers (0)

Categories

Find more on Mathematics 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!