hi
kindly tell me how can i implement this code in l.v. i do not know how to use if in l.v
here is the code:
for i=1:m
for j=1:n
if b11_mat(i,j)<=lum(i,j)
b11_mat(i,j)=lum(i,j);
end
end
end
thnx
Fairy
Do one thing, Post your C code. I will convert it into LabVIEW.
This is bit confusing.
Thanks
Hi Fairy,
I think this is basically what you are trying to do with your code.
The case structure is generally a pretty good replacement for the if statement.
You can find a little more about the case structure here.
The other neat thing is the for loop automatically indexes through the arrays for you.
Good Luck,
Brett
Hi,
I think Gerd has shown you very effective code for your request,
here I just add the possibility to control the value m and n.
regards,
Yan.
Thnx all of u.. it realy works
.
hi GerdW!
From where i can find max/min vi?
fairy55 wrote:From where i can find max/min vi?
Try the comparison palette. (Min&Max).
hi!
i have another problem now.
r1= 1 2 3
4 5 6
r1(
= 1
4
2
5
3
6
how can it possible in l.v?
thnx