I have problem about aA wave net pid controllers for AQM routers
1 次查看(过去 30 天)
显示 更早的评论
clc; close all;
MP=input('Learning rate of proportional='); MI=input('Learning rate of integral='); MD=input('Learning rate of derivative='); Pr=input('proportional gain='); In=input('Integral gain='); Dr=input('Derivative gain='); upper=input('upper interval='); lower=input('lower interval='); wl=input('number of wavelones='); xx=input('dilation='); c=input('IIR feed-forward coefficient='); d=input('IIR feed-back coefficient='); N=input('number of FF delays='); M=input('number of FB delays='); v=input('co-input='); accuracy=input('accuracy='); ma=input('Learning rate of dilation='); mb=input('Learning rate of translation='); mw=input('Learning rate of weight='); mc=input('Learning rate of FF coefficient='); md=input('Learning rate of FB coefficient=');
z=1; for i=0:.11:200 if i>0 & i<=50 r(z)=300; elseif i>50 & i<=100 r(z)=200; elseif i>100 & i<=150 r(z)=500; elseif i>150 & i<=200 r(z)=200; end z=z+1; end
////////// error after run the programe////////
Conversion to function_handle from double is not possible.
Error in hindawavenetpid (line 28) r(z)=300;
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 PID Controller Tuning 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!