필터 지우기
필터 지우기

A possible bug in symbolic limit function regarding complex entities?

조회 수: 2 (최근 30일)
Dingyu Xue
Dingyu Xue 2014년 12월 17일
The code I tried
>> syms z;
F=1/(z-1)^2+3/(z-1)+5/(z+1i)+6/(z-1i)^2+1/(z-2)^2+1/(z-2) % original function,
f1=(z+1i)*F % I want to cancel (z+1i) term in denominator, by multiplying F,
f1=simplify(f1) % the term (z+1i) still there in denominator, although can be
% cancelled manually,
L=limit(f1,z,sym(-1i))
An error occured
mupadmex
Error in MuPAD command: Assumptions are inconsistent. [property::_assume]
Error sym/limit (line 47)
rSym = mupadmex('symobj::map', args{1}.s, 'symobj::limit', args{2}.s, args{3}.s);
Problem: If (z+1i) term is cancelled manually, only warning will be given, only warning message given, no error, and the answer is correct. Is there a bug in the limit function, when dealing with complex numbers? Or problem with simplify function where (z+1i) cannot be exactly cancelled?
I am using MATLAB R2014a, on MS Windows 8.1

답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by