필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

I don't get this

조회 수: 2 (최근 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