필터 지우기
필터 지우기

Empty sym: 0-by-1

조회 수: 2 (최근 30일)
Max Insect
Max Insect 2020년 5월 20일
댓글: Max Insect 2020년 5월 21일
Im very new to Matlab, than please, can anybody help/
This is the part of the code
syms x1;
solve(x.^2+4*sin(x)==0,x1)
and this is ans
ans =
Empty sym: 0-by-1
What can i fo to fix it?
(The solutions of this equation are:0 and smthng abot -1.93)
  댓글 수: 1
Max Insect
Max Insect 2020년 5월 20일
LOL. ama n idiot. the problem was in x and x1. now the qstn is how to display the second solution? (i have zero, need th -1.93)

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

답변 (1개)

DEEPAK SHARMA
DEEPAK SHARMA 2020년 5월 20일
vpasolve(x^2+4*sin(x)==0,x, [-2 -1])
ans =
-1.9337537628270212533084756690907
  댓글 수: 1
Max Insect
Max Insect 2020년 5월 21일
deep thx))

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

카테고리

Help CenterFile Exchange에서 Number Theory에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by