In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces what are the differences between matlab an and b multiplication, which can be used for reference by friends who need it. I hope you will learn a lot after reading this article. Next, let the editor take you to learn about it.
The difference between matlab an and b multiplication: 1. [a. Multiplib] is preceded by a dot multiplication, which requires that the elements of the two variables are equal in number and arranged in the same way, such as row vectors or column vectors or all matrices; 2, [aqb] the latter is matrix multiplication, requiring the same inner dimension.
Difference:
A. is preceded by dot multiplication, which requires that the elements of the two variables are equal in number and arranged in the same way, such as row vectors or column vectors or both matrices. The latter is matrix multiplication and requires the same inner dimension.
An example is given to illustrate the difference between the two multiplications in matlab.
1. A matrix
2. B matrix
3 、 C=A.*B
4 、 C=A*B
Extended data:
Two operational rules are provided:
1) A.B
When carrying out this operation, we must ensure that the shape of matrix An and B is the same, that is, they are both mn matrices. The result of the operation is that the elements of the corresponding position are multiplied together to form a matrix of the same shape (mn), namely C=AijBij.
2) AB
This operation is the same as the matrix multiplication calculation method in linear algebra, it does not need the same shape of An and B, but the number of columns of An is the same as the number of rows of B. for example, An is a mn matrix and B is a nimble matrix.
Thank you for reading this article carefully. I hope it will be helpful for everyone to share the differences between matlab an and b multiplication. At the same time, I also hope that you will support us, pay attention to the industry information channel, and find out if you encounter problems. Detailed solutions are waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.