未定义与 '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'。
请问要怎么解决这个问题啊???

 채택된 답변

brsnkas
brsnkas 2023년 5월 17일

0 개 추천

看看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)

추가 답변 (0개)

카테고리

태그

질문:

2023년 5월 17일

답변:

2023년 5월 17일

Community Treasure Hunt

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

Start Hunting!