1% load_f32.m
2% David Rowe Jan 2019
3%
4% load up .f32 binary files from dump_data
5
6function features = load_f32(fn, ncols)
7  f=fopen(fn,"rb");
8  features_lin=fread(f, 'float32');
9  fclose(f);
10
11  nrows = length(features_lin)/ncols;
12  features = reshape(features_lin, ncols, nrows);
13  features = features';
14endfunction
15