From: Mohammad on
"Matt Fig" <spamanon(a)yahoo.com> wrote in message <hvdmjr$980$1(a)fred.mathworks.com>...
> Well, why not take what you have been shown and work with it a little?
>
> V = d+g+h;
> if V~=floor(V)
> % Do what you need to do here.
> end

thanks for the idea (it makes Sense lol)