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

Dyuman Joshi
Dyuman Joshi 2021년 5월 3일
Why are you writing matrix while defining the variables?
Ahmet Parker
Ahmet Parker 2021년 5월 3일
in R2021a this is a new option. They are matrices and matlab applies martix rules. And they are symbols
Dyuman Joshi
Dyuman Joshi 2021년 5월 3일
Oh, Don't know about that. Anyways, here's what I have done. Is this what you want?
Ahmet Parker
Ahmet Parker 2021년 5월 3일
No, thank you very much
solve() is not defined for symmatrix() yet.
solve(symmatrix2sym([K11+K11==deltat*K11]),symmatrix2sym(deltat))
Dyuman Joshi
Dyuman Joshi 2021년 5월 3일
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 2021년 5월 5일
@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 2021년 5월 5일
@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 2021년 5월 5일
In R2021a, the new toolboxes are:
Dyuman Joshi
Dyuman Joshi 2021년 5월 5일
@Walter Roberson Thank you for the link, it is exactly what I was looking for!

댓글을 달려면 로그인하십시오.

 채택된 답변

Swatantra Mahato
Swatantra Mahato 2021년 5월 5일

0 개 추천

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Mathematics에 대해 자세히 알아보기

질문:

2021년 5월 2일

댓글:

2021년 5월 5일

Community Treasure Hunt

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

Start Hunting!

Translated by