1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

octave .* ←この演算子は要素単位の積です! what's the meaning of operator?

Last updated at Posted at 2019-11-15

参考

MATLABとOctaveについて良くわかります!

解決

カンマをつけると、内積ではなく要素同士の積になります。(内積は(n☓m)==(m☓n)が成り立つ時だけです)

A = [1,2,3,4];
1 2 3 4

B = [5,6,7,8];
5 6 7 8

A .* B =
5 12 21 32

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?