Prev: fourier transform
Next: kurtosis?
From: Chien-Chia Huang on 7 Apr 2010 06:32 Hey, I just confronted a problem with the function dec2bin() in Linux. I was converting a matrix A into binary strings ==> dec2bin(A, 3) I am quite sure that my code is correct since it does work in Windows, not in Linux, though. (Hopefully it is not because Linux is free!) The error message reads "Operands to the || and && operators must be convertible to logical scalar" Has anyone had this sort of problems before? Thanks a lot! :) Liam
From: us on 7 Apr 2010 07:03 "Chien-Chia Huang" <liamplayt(a)gmail.com> wrote in message <hphmvn$l4f$1(a)fred.mathworks.com>... > Hey, > > I just confronted a problem with the function dec2bin() in Linux. > I was converting a matrix A into binary strings ==> dec2bin(A, 3) > I am quite sure that my code is correct since it does work in Windows, not in Linux, though. (Hopefully it is not because Linux is free!) > The error message reads > "Operands to the || and && operators must be convertible to logical scalar" > > Has anyone had this sort of problems before? > > Thanks a lot! :) > Liam show an exemplary A... show the full error message... show the output of these which dec2bin -all; ver us
|
Pages: 1 Prev: fourier transform Next: kurtosis? |