help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Product array


From: Santiago Higuera
Subject: Re: Product array
Date: Mon, 3 Sep 2018 20:05:49 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

a=[2 3 4]

b=[5 6 7]

a.*b = (10 18 28)




El 03/09/18 a las 19:25, LucaLuca escribió:
hi,
see this example:

a=(1,:)= 2 3 4

b=(1,:)=5 6 7

i want this:

z=a*b =2*5 3*6 4*7=10 18 28 ==> the result is an array of 3 element






--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html







reply via email to

[Prev in Thread] Current Thread [Next in Thread]