No BSD License  

Highlights from
GUI for the performance analysis of pedelecs

image thumbnail
from GUI for the performance analysis of pedelecs by Jan Cappelle
Modeling the behaviour of electric bicycles

CreateLSSVMmodel(tradata)
function model = CreateLSSVMmodel(tradata)

%CreateLSSVMmodel(data,Z,)
%CreateLSSVMmodel(data) creates a LSSVM model from given tradata
%[speed(km/h) torque(Nm) force(N)]

Xtra=[tradata(:,1),tradata(:,2)];
Ytra=tradata(:,3);

%training
%startwaardes
gam = 10;
sig = .4;
model = trainlssvm({Xtra,Ytra,'f',gam,sig});


%tunelssvm met crossvalidation
model = tunelssvm(model);

Contact us at files@mathworks.com