% Read a floating-point matrix from a binary file (with native byte order)
% Usage: A = fbinread(m, n, file_name)

% John Kerl
% kerl.john.r@gmail.com
% 2006-05-18

function [A] = fbinread(m, n, file_name)
fid = fopen(file_name,'rb');
A = fread(fid,[m,n],'single');
fclose(fid);
