Check for missing argument or incorrect argument data type in call to function 'solve'. error
43 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I am trying to solve for a variable using the solve command. I know I can do so symbollically, but I want to first intiailize the variable and then solve for it since I am using an iterative approach to solve a problem and the variable's value is updated at the end of each iteration. When I execute the code below I get an error message. Can someone explain how this can be done?
a = 0;
a = solve(a+2==5)
0 Kommentare
Antworten (1)
Deepak Meena
am 26 Feb. 2021
Hi Aleem,
Here is an example
>> syms a
a = solve(a+2==5)
a =
3
>>
0 Kommentare
Siehe auch
Kategorien
Mehr zu Calculus finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!