matlab中极限的使用——Limit variable must be a symbolic variable.

syms I1 I2 I3 Q1 Q2 Q3
limit(acos((I2-I1)*(I3-I2)+(Q2-Q1)*(Q3-Q2)/(sqrt((I2-I1)^2+(Q2-Q1)^2)*sqrt((I3-I2)^2+(Q3-Q2)^2)))/(sqrt(I3-I1)^2+(Q3-Q1)^2),(sqrt(I3-I1)^2+(Q3-Q1)^2),inf)

1 件のコメント

Dyuman Joshi
Dyuman Joshi 2023 年 12 月 7 日
You want to find the limit of the expression, but with respect to which variable?

サインインしてコメントする。

回答 (1 件)

Arka
Arka 2023 年 12 月 26 日
編集済み: Arka 2023 年 12 月 27 日

0 投票

You can go through the standard usage of the "limit" function from the MathWorks documentation link below:
As can be seen from the link above, you need to calculate the limit of a function with respect to a symbolic variable. In your case, it is a symbolic expression, and not a symbolic variable.
Hope this helps!

1 件のコメント

Dyuman Joshi
Dyuman Joshi 2023 年 12 月 26 日
編集済み: Dyuman Joshi 2023 年 12 月 26 日
OP already knows about limit, as they have used it in the code posted above.
Your answer does not add any extra info to this thread.
And it's not a function, but a symbolic expression.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File Exchange数学 についてさらに検索

質問済み:

2023 年 12 月 7 日

編集済み:

2023 年 12 月 27 日

Community Treasure Hunt

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

Start Hunting!