Stetigkeit MATHLAB 2 ?

1 visualización (últimos 30 días)
alkadjfkl
alkadjfkl el 20 de Jun. de 2024
Comentada: Torsten el 20 de Jun. de 2024
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 comentario
Torsten
Torsten el 20 de Jun. de 2024
Do you have doubts about your code ?
Here, the same method is used:
And for simple functions, it seems to work.

Iniciar sesión para comentar.

Respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by