Commit 8d24c44f authored by Pascal Palenda's avatar Pascal Palenda
Browse files

Remove matlab helpers

parent fddb6aed
%% clear
clear
clc
%% Set the data
% Data from Blauert - Spatial Hearing and Damaske & Wagener - Directional Hearing Tests by the Aid of a Dummy Head
% horizontal plane [ percieved phi delta, uncertanty]
horizontalPlane = [ 0, 359, 3.6;
90, 80.7, 9.2;
180, 179.3, 5.5;
270, 281.6, 10.0];
interHorizontalPlane = interp1(horizontalPlane(:,1), horizontalPlane(:,2), 0:359, 'linear' );
%% plot
errorbar(horizontalPlane(:,1))
plot(interHorizontalPlane,'-*')
hold on;
plot(horizontalPlane(:,2),horizontalPlane(:,1) ,'o')
%%
grid = ita_generateSampling_equiangular(10,10);
grid = grid.n(grid.theta_deg <= 90);
grid = grid.n(grid.phi_deg <= 180);
grid.r = linspace(0,0,grid.nPoints);
imagesc([min(grid.phi_deg), max(grid.phi_deg)],[min(grid.theta_deg), max(grid.theta_deg)],grid.r);
colorbar;
xlabel('azimuth in ');
ylabel('elevation in ');
hold on
scatter([0,45],[0,45],'ro');
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment