interpolateHRTF always trows warnings or errors when using either methods

2 views (last 30 days)
I am trying to interpolate positions from the ARI database to the CIPIC database, but when I use the 'bilinear' mode the functions can't find the correct B position and trows an error.
However when I try to use the 'vbap' mode I ALWAYS get "Warning: Matrix is close to singular or badly scaled.
Results may be inaccurate." no matter the objective positions specified. What should I do? Please someone send help!

Answers (1)

Jimmy Lapierre
Jimmy Lapierre on 30 Mar 2020
Can I ask what version of Matlab you are using?
If you can provide some sample code, it might also help. Does the help example work correctly on your machine? If so, does this also work afterwards?
interpolatedIRVBAP = interpolateHRTF(hrtfData,sourcePosition,desiredPosition,'Algorithm','VBAP');
Davi Carvalho
Davi Carvalho on 3 Apr 2020
Indeed, when I read it the first time it seemed weird the implementation that point B "must" be at the same elevation as A, but that's why I suggested to change point A if it couldn't find a point B match.
when you manage to solve the functions, will I need to wait until a new matlab update to use your implementations? :/

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!