Stetigkeit MATHLAB 2 ?

조회 수: 1 (최근 30일)
alkadjfkl
alkadjfkl 2024년 6월 20일
댓글: Torsten 2024년 6월 20일
function isContinuous = checkContinuity(func)
syms x;
f = str2sym(func);
discont_points = feval(symengine, 'discont',f,x);
if isempty(discont_points)
isContinuous = true;
disp('Ist stetig');
disp(discont_points)
else
isContinuous = false;
disp('Nicht stetig');
disp(discont_points)
end
end
checkContinuity('2*x');
  댓글 수: 1
Torsten
Torsten 2024년 6월 20일
Do you have doubts about your code ?
Here, the same method is used:
And for simple functions, it seems to work.

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

답변 (0개)

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by