Ask your own question, for FREE!
Mathematics 15 Online
OpenStudy (baldymcgee6):

Matlab question.. When using matlab, is it okay to using .* and ./ and .^ all the time, or is it only for matrices?

OpenStudy (anonymous):

While it is okay to use those for constants (for example, if you've defined matrix A, A.*5 will equal A*5), it should be used only for operating when you want to multiply or divide each element of one matrix with another.

OpenStudy (anonymous):

oooo wait if you want to use just "^", remember that it is multiplying the MATRIX by itself. Therefore, if you want to raise each element to a certain power, then you must use .^

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!