Alternative solution for NAN1112 (2/27/2013 9:02:09 AM) comp.soft-sys.matlab The following code gives NAN (Not a Number) values
[U,D]=eig(N);
To solve this problem, I wrote that
while(det(N) == 0)
N=(1e-10.*randi(1,size(N)))*eye(size(N));
end
But, the loop does not stop... Carl
Alternative solution for NAN problem02 (2/27/2013 9:00:08 AM) comp.soft-sys.matlab The following code gives NAN
[U,D]=eig(N);
To solve this problem, I wrote that
while(det(N) == 0)
N=(1e-10.*randi(1,size(N)))*eye(size(N));
end
But, the loop does not stop :( Are there any alte... Carl
ROC curve of target and source images810 (2/25/2013 12:06:08 PM) comp.soft-sys.matlab Hi,
I need matlab codes to plot a roc curve of target and source images
(I have searched but the files in FileExchange are not clear (not get image files as input to give the plotted curve) for my purpos... Carl
Is gradient(I(x,y)) vector ?13 (2/8/2013 4:43:08 AM) comp.soft-sys.matlab Hi
When you compute the gradient of an image (8bit, grayscale), then is the result vector or scalar ?
I mean that does grad(I(x,y)) return vector values or scalar values ?
... Carl
plot or mesh or ?54 (1/2/2013 6:54:09 PM) comp.soft-sys.matlab Hi,
I want to understand a function that has the following codes;
f1 =(1/2/epsilon)*(1+cos(pi*phi1/epsilon));
b = (phi1=-epsilon);
f = f1.*b;
Here, phi1 is double and 256x256. The term epsilon is a con... Carl
display positive indexed pixels320 (12/23/2012 9:45:08 AM) comp.soft-sys.matlab Hi,
I have a grayscale image. I have some pixels that have values
index: 0.329
RGB: 0.487 0.487 0.487
How can you show only these pixels ? (I do not want to display the pixels which have negative index... Carl
mpower input to eig must not contain nan or inf719 (11/13/2012 12:26:13 PM) comp.soft-sys.matlab Hi,
I want to compute the derivative of 10^-2*s when s0
So, I wrote this :
10^(-2*s))*log(10)*(-2)
But I am getting the error : "mpower input to eig must not contain nan or inf"
How can I solve t... Carl
Error: Matrix dimensions must agree #22919 (10/1/2012 11:26:07 AM) comp.soft-sys.matlab Hi
I would like to run this code
H = laplacian(Img_smooth)-abs([Ix,Iy])*div([Ix,Iy]/abs([Ix,Iy]));
But the divergence function is written as this
function f = div(nx,ny)
[nxx,junk]=gradient(nx);
[ju... Carl
Equivalent codes of 2D but gives different result037 (7/10/2012 8:21:07 AM) comp.soft-sys.matlab Hi,
The following codes seems the same. One of them is for 2D, the other is for 3D. But their results are different. Why ?
Codes For 2D are
[x,y] = find(img==-11);
for j=1:size(x,1)
n... Ferrari
Alternative solution for NAN1112 (2/27/2013 9:02:09 AM) comp.soft-sys.matlab The following code gives NAN (Not a Number) values
[U,D]=eig(N);
To solve this problem, I wrote that
while(det(N) == 0)
N=(1e-10.*randi(1,size(N)))*eye(size(N));
end
But, the loop does not stop... tkittler(90)
ROC curve of target and source images810 (2/25/2013 12:06:08 PM) comp.soft-sys.matlab Hi,
I need matlab codes to plot a roc curve of target and source images
(I have searched but the files in FileExchange are not clear (not get image files as input to give the plotted curve) for my purpos... tkittler(90)
Dirac Delta Question1211 (1/17/2013 9:42:09 PM) comp.soft-sys.matlab Hey y'all, I'm very confused as to how to numerically incorporate dirac delta behaviour into my differential equation. Maybe I'm using a wrong approach? I keep getting error messages to no avail. Any advice wou... samnuzbrokh(1)
plot or mesh or ?54 (1/2/2013 6:54:09 PM) comp.soft-sys.matlab Hi,
I want to understand a function that has the following codes;
f1 =(1/2/epsilon)*(1+cos(pi*phi1/epsilon));
b = (phi1=-epsilon);
f = f1.*b;
Here, phi1 is double and 256x256. The term epsilon is a con... tkittler(90)
mpower input to eig must not contain nan or inf719 (11/13/2012 12:26:13 PM) comp.soft-sys.matlab Hi,
I want to compute the derivative of 10^-2*s when s0
So, I wrote this :
10^(-2*s))*log(10)*(-2)
But I am getting the error : "mpower input to eig must not contain nan or inf"
How can I solve t... tkittler(90)
Error: Matrix dimensions must agree #22919 (10/1/2012 11:26:07 AM) comp.soft-sys.matlab Hi
I would like to run this code
H = laplacian(Img_smooth)-abs([Ix,Iy])*div([Ix,Iy]/abs([Ix,Iy]));
But the divergence function is written as this
function f = div(nx,ny)
[nxx,junk]=gradient(nx);
[ju... tkittler(90)
Imwrite plotted edges after filling the holes533 (3/4/2012 6:42:13 AM) comp.soft-sys.matlab Hi, I have the following codes; % construct the edge map edg = [subpix_x'/(n+1) subpix_y'/(n+1) atan2(subpix_dir_y2', subpix_dir_x2') mag_e']; [m,n] = size(edg); % plot the edgels for i=1:m, plot([edg(i... tkittler(90)
EIG must not contain NAN :(3126 (2/10/2012 10:29:12 AM) comp.soft-sys.matlab Hi, could you please help about the error on these codes; u=1e-10; for p=10:-1:1 B=C+u.*eye(size(C)); if det(B)==0 % ==> there is not an inverse matrix of B so u is increased by 10 u=u*10; e... tkittler(90)
convert binary to gray740 (1/26/2012 6:53:22 PM) comp.soft-sys.matlab how to convert a logical binary image into same size gray image? I have tried y=bin2gray(x,'qam',16) function but here for x this function does not take the binary image directly. all I need to convert the bin... u.ingenieria.bd(11)