From: Oleg Komarov on 18 Feb 2010 07:55 "Riyman " <r_iman_2008(a)hotmail.com> wrote in message <hljch0$rgr$1(a)fred.mathworks.com>... > "Oleg Komarov" <oleg.komarovRemove.this(a)hotmail.it> wrote in message <hljbsq$gjc$1(a)fred.mathworks.com>... > > Typo: > > Arithmetic operators > > > > Oleg > > Thank you for the hint, but I could not find a command that multiply all elements ofa single vector.... > Please let me know if you know. > > Thanks > RM A and B are vectors: if lenght(A) == lenght(B) then again read carefully in the arithmetic operators section where it talks about .* lenght(A) ~= lenght(B) then help bsxfun. Oleg
From: Riyman on 18 Feb 2010 08:33 "Oleg Komarov" <oleg.komarovRemove.this(a)hotmail.it> wrote in message <hljdbq$mnb$1(a)fred.mathworks.com>... > "Riyman " <r_iman_2008(a)hotmail.com> wrote in message <hljch0$rgr$1(a)fred.mathworks.com>... > > "Oleg Komarov" <oleg.komarovRemove.this(a)hotmail.it> wrote in message <hljbsq$gjc$1(a)fred.mathworks.com>... > > > Typo: > > > Arithmetic operators > > > > > > Oleg > > > > Thank you for the hint, but I could not find a command that multiply all elements ofa single vector.... > > Please let me know if you know. > > > > Thanks > > RM > A and B are vectors: > if lenght(A) == lenght(B) then again read carefully in the arithmetic operators section where it talks about .* > > lenght(A) ~= lenght(B) then help bsxfun. > > Oleg Thanks to you both (Oleg and Jos) Jos your help is direct to the point ... thank you very much.
From: Oleg Komarov on 18 Feb 2010 08:55 "Riyman " <r_iman_2008(a)hotmail.com> wrote in message <hljfj4$j7c$1(a)fred.mathworks.com>... > "Oleg Komarov" <oleg.komarovRemove.this(a)hotmail.it> wrote in message <hljdbq$mnb$1(a)fred.mathworks.com>... > > "Riyman " <r_iman_2008(a)hotmail.com> wrote in message <hljch0$rgr$1(a)fred.mathworks.com>... > > > "Oleg Komarov" <oleg.komarovRemove.this(a)hotmail.it> wrote in message <hljbsq$gjc$1(a)fred.mathworks.com>... > > > > Typo: > > > > Arithmetic operators > > > > > > > > Oleg > > > > > > Thank you for the hint, but I could not find a command that multiply all elements ofa single vector.... > > > Please let me know if you know. > > > > > > Thanks > > > RM > > A and B are vectors: > > if lenght(A) == lenght(B) then again read carefully in the arithmetic operators section where it talks about .* > > > > lenght(A) ~= lenght(B) then help bsxfun. > > > > Oleg > > > > > Thanks to you both (Oleg and Jos) > Jos your help is direct to the point ... thank you very much. "Thank you for the hint, but I could not find a command that multiply all elements ofa single vector...." I guess i didn't catch the question... sorry if I supplied misleading info. Oleg
First
|
Prev
|
Pages: 1 2 Prev: Long double precision mxArray in mex file? Next: Simhydraulics (accumulator initial volume) |