フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

I don't get this

1 回表示 (過去 30 日間)
Sreet Swastik
Sreet Swastik 2013 年 3 月 29 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
global Kp;
>> Kp=5
Kp =
5
>> global e ;
>> e = 2;
>> func = Kp*e
func =
10
>> q= int(Kp*e, e, 0, 2)
??? Undefined function or method 'int' for input arguments of type 'double'.
  1 件のコメント
the cyclist
the cyclist 2013 年 3 月 29 日
In the future, you might want to give your questions a more meaningful title.

回答 (1 件)

Walter Roberson
Walter Roberson 2013 年 3 月 29 日
int() is a function from the symbolic toolbox, that applies only to symbolic expressions (or character strings that represent symbolic expressions.) I suggest trying
syms e
q = int(Kp*e, e, 0, 2)

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by