0

Blueman - GTK+ Bluetooth Manager

Posted by Derek Jing on 1:36 PM in
Blueman is a GTK+ Bluetooth Manager

Blueman is designed to be simple and intuitive for everyday bluetooth tasks such as:

* Connecting to 3G/EDGE/GPRS via DUN profile.
* Connecting to/Creating bluetooth networks
* Connecting to input devices
* Connecting to audio devices
* Sending/Receiving/Browsing files via OBEX
* Pairing

URL: http://blueman-project.org/

Install Blueman in Ubuntu
Go to System>>Administration>>Software>>Sources.
Now click on Third-Party Software tab
Click on add one of the following sourcelist which is suitable for you

For Ubuntu Jaunty (9.04) Users

deb http://ppa.launchpad.net/blueman/ppa/ubuntu jaunty main

0

Customize intermediate outputs for optimization in Matlab

Posted by Derek Jing on 10:43 AM in
% Calibration by optimization
x0=[1e-5,1e-5]; % Initial guess
lb=[0,0];
ub=[1,1];
options = optimset('Algorithm','interior-point'...
,'LargeScale','on'...
,'Display','iter'...
,'OutputFcn',{@monitorXvalues,@optimplotfval}...
,'PlotFcns',{@optimplotx,@optimplotfval}...
,'MaxFunEvals',500....
,'MaxIter',250....
,'TolFun',1e-6...
,'TolX',1e-6);
fobject=@(x)optimfunc(x,YieldCurveUSD,T,S,Price);
[x,fval]=fmincon(fobject,x0,[],[],[],[],lb,ub,[],options);

%-------------------------------
function stop = monitorXvalues(x,optimValues,state)
stop = false;
fprintf('sigma*=%10.7f, delta*=%12.8f\n',x(1),x(2));
fprintf('Stepsize of estimate=%12.8f\n',optimValues.stepsize);
fprintf('Value of object function=%12.8f\n\n',optimValues.fval);

Copyright © 2009 Derek's Technical Notes All rights reserved.