未定义与 'char' 类型的输入参数相对应的函数 'syms'。

原代码:
clc
syms x,y,z;
[x,y,z]=solve('x/0.86-0.564*z=0','y/0.86-0.7/z=0','x-y=40');
x=vpa(x,3);
y=vpa(y,3);
z=vpa(z,3);
运行结果显示:未定义与 'char' 类型的输入参数相对应的函数 'syms'。
请问要怎么解决这个问题啊???

 Réponse acceptée

brsnkas
brsnkas le 17 Mai 2023

0 votes

看看syms的语法格式
syms x y z;
[x,y,z]=solve(x/0.86-0.564*z==0,y/0.86-0.7/z==0,x-y==40)

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!