What does line number 4 is actually doing, i.e. obj = obj@CtrlAffineSys(params);
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Pallov Anand
el 15 de Nov. de 2022
Comentada: Pallov Anand
el 16 de Nov. de 2022
classdef ACC < CtrlAffineSys
methods
function obj = ACC(params)
obj = obj@CtrlAffineSys(params);
end
function Fr = getFr(obj, x)
v = x(2);
Fr = obj.params.f0 + obj.params.f1 * v + obj.params.f2 * v^2;
end
end
end
0 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Startup and Shutdown en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!