How to calculate multivariable limit using matlb?

31 ビュー (過去 30 日間)
Gaurav Shrivastava
Gaurav Shrivastava 2021 年 1 月 8 日
回答済み: Uday Pradhan 2021 年 1 月 15 日
I just want to know how to calculate multivarivabe limits? is there any special function? Please explain with an example.

採用された回答

Uday Pradhan
Uday Pradhan 2021 年 1 月 15 日
Hi Gaurav,
Unfortunately, there is no special function as of now that calculates multivariable limits directly.
However, there are a number of ways to investigate the limiting behaviour along a specific one - dimensional "path". For eg:
syms x y t f(x,y)
f(x,y) = x^3 * y / (x^6 + y^2); % we want to check limit of this as x and y approach 0
%Investigate limit along y = x path
limit(f(x,x),x,0)
This gives answer as 0. But along "y = x^3", we get:
>> limit(f(x,x^3),x,0)
ans =
1/2
So clearly the limit doesnot exists. You can also use limit function in a nested manner to calculate repeated limits as such:
limit(limit(f(x,y),x,0),y,0) ...(i)
limit(limit(f(x,y),y,0),x,0) ...(ii)
If both limits in (i) and (ii) exists and are NOT equal, then the double - limit does not exist. Of course, these workflows may not answer your query perfectly.
So, If you have a specific function that you are working on, you can post it as a reply to my answer. I will try to help you out, else, you can also post it as a separate question to reach a wider audience. Thanks!

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMatrices and Arrays についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by