From 9e6c8b77c333b82c3f92b025e07ce4296a1b40ea Mon Sep 17 00:00:00 2001
From: Marina Kreme <amamarinak@gmail.com>
Date: Sat, 21 Nov 2020 05:46:07 +0100
Subject: [PATCH] add doc

---
 matlab/tfgm/datasets/get_dataset.m | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/matlab/tfgm/datasets/get_dataset.m b/matlab/tfgm/datasets/get_dataset.m
index 845784c..6ceced6 100644
--- a/matlab/tfgm/datasets/get_dataset.m
+++ b/matlab/tfgm/datasets/get_dataset.m
@@ -1,7 +1,10 @@
 function dataset = get_dataset()
 
-% This function is used to get the data of the experiments.
-%The data is stored in a structure array. 
+% Get dataset for isolated wideband and localized sources before mixing.
+
+% dataset : struct
+%         dataset.('wideband').(sounds names)is a dictionary
+%         containing the path of all the wideband and localized sounds.
 % 
 % Author: Marina KREME
 
@@ -13,7 +16,7 @@ n_loc_dir = dir([loc_dir, '*.wav']);
 dataset = struct('wideband',struct(),'localized',struct());
 
 
-for x =1: length(n_wide_dir)
+for x =1:length(n_wide_dir)
     
     wideband_file = [n_wide_dir(x).folder, filesep,n_wide_dir(x).name];
     wideband_name = n_wide_dir(x).name(1:end-4);
@@ -35,4 +38,3 @@ end
 
 
 
-
-- 
GitLab