Commit f58f324f authored by Jonas Stienen's avatar Jonas Stienen
Browse files

Removing row-to-col verctor transformation in maekawa diffraction, and fixing...

Removing row-to-col verctor transformation in maekawa diffraction, and fixing a bug in tf field checks
parent 358fb8ab
......@@ -16,12 +16,6 @@ end
if ~ita_diffraction_point_is_of_dim3( receiver_pos )
error( 'Receiver point must be of dimension 3' )
end
if ita_diffraction_point_is_row_vector( source_pos )
source_pos = source_pos';
end
if ita_diffraction_point_is_row_vector( receiver_pos )
receiver_pos = receiver_pos';
end
%% Calculation
......
function [ freq_data_linear ] = tf( obj, pp )
%TFS Calculates the transfer functions (tfs) of the (geometrical) propagation paths in frequency domain
if ~isfield( obj.pps, 'propagation_anchors' )
if ~isfield( pp, 'propagation_anchors' )
error( 'The propagation_path argument does not contain a field "propagation_anchors"' )
end
......
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