changeset 7:68e34e3857a7

updated readme
author Timos Papadopoulos <tp@isvr.soton.ac.uk>
date Sat, 23 Nov 2013 13:08:46 +0000
parents f3d8070c1781
children aeb703465220
files README
diffstat 1 files changed, 6 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/README	Sat Nov 23 13:07:19 2013 +0000
+++ b/README	Sat Nov 23 13:08:46 2013 +0000
@@ -6,17 +6,19 @@
 matlab -> web shell integration paradigm.
 
 Matlab help preample of simulateBinauralSignals.m:
+function simulateBinauralSignals(inputstruct)
 %Creates .wav file of 2sec long binaural signals for specific board dimensions and gaussian white noise stimulus
 %
 % The .wav is created in the current directory with filename is 'binsimecho.wav'
 %
 % INPUTS:
-% - dist (1st input argument) is the distance in meters
-% - azim (2nd input argument) is the azimuth in degrees (0 means straight ahead, positive angles are left and negative
+% The input must be a structure with fields:
+% .dist (1st input argument) is the distance in meters
+% .azim (2nd input argument) is the azimuth in degrees (0 means straight ahead, positive angles are left and negative
 % are right)
-% - orient (3rd input argument) must be either 'horz' or 'angled' corresponding to flat and angled descriptions in
+% .orient (3rd input argument) must be either 'horz' or 'angled' corresponding to flat and angled descriptions in
 % Papadopoulos et al. BSPC 2011.
-% - dirweight (4tht input argument) must be a nonnegative real scalar determining what is the relative weight of the
+% .dirweight (4tht input argument) must be a nonnegative real scalar determining what is the relative weight of the
 % emission path to the echo path (i.e. due to directivity focus in the frontal direction of the source, the emission
 % which is directed upwards and backwards in our specific geometry is significantly attenuated, typically by factor in
 % the vicinity of 0.2)