Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
I don't get this
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentar
the cyclist
am 29 Mär. 2013
In the future, you might want to give your questions a more meaningful title.
Antworten (1)
Walter Roberson
am 29 Mär. 2013
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)
0 Kommentare
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!