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 commentaires

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

Connectez-vous pour commenter.

 Réponse acceptée

Swatantra Mahato
Swatantra Mahato le 5 Mai 2021

0 votes

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

Plus de réponses (0)

Catégories

En savoir plus sur Mathematics dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by