Discussion:
It is useful for convert logical matrix into double
(too old to reply)
Parshuram M. Kamble
2017-08-26 09:29:38 UTC
Permalink
Clear all;
close all;
I=imread('imageTest1.bmp');
[r,c]=size(I)
g=[];
g=double(I);
dpb
2017-12-16 14:44:20 UTC
Permalink
Post by Parshuram M. Kamble
Clear all;
close all;
I=imread('imageTest1.bmp');
[r,c]=size(I)
g=[];
g=double(I);
But just as a point of efficiency there's no need for the overhead of

g=[];

here.

--

Loading...