summaryrefslogtreecommitdiffstats
path: root/matlab/tools/astra_imshow.m
blob: dbaac10e4395d899c8abf6d3d49912623e26e305 (plain)
1
2
3
4
5
6
7
8
9
10
function V = astra_imshow(data, range)

if numel(data) == 1
	data = astra_mex_data2d('get', data);
end
imshow(data,range);

if nargout >= 1
	V = data;
end