About 42,400 results
Open links in new tab
  1. What is the difference between * and .* in Matlab?

    Apr 4, 2013 · * is matrix multiplication while .* is elementwise multiplication. In order to use the first operator, the operands should obey matrix multiplication rules in terms of size.

  2. Why is MATLAB so fast in matrix multiplication? - Stack Overflow

    May 19, 2011 · Matrix multiplication (together with Matrix-vector, vector-vector multiplication and many of the matrix decompositions) is (are) the most important problems in linear algebra.

  3. MATLAB: How to vector-multiply two arrays of matrices?

    Sep 9, 2015 · I have two 3-dimensional arrays, the first two dimensions of which represent matrices and the last one counts through a parameterspace, as a simple example take A = …

  4. matlab - Multiply a 3D matrix with a 2D matrix - Stack Overflow

    Nov 16, 2009 · Suppose I have an AxBxC matrix X and a BxD matrix Y. Is there a non-loop method by which I can multiply each of the C AxB matrices with Y?

  5. Fastest way to do repeated element wise matrix multiplication in …

    Feb 19, 2024 · Given a matrix A, I need to multiply with another constant vector B, N times (N > 1 million). The size of A is 9000x1 and B is 9000x1000. The code is currently evaluated in the …

  6. element by element matrix multiplication in Matlab

    Nov 12, 2014 · After this, you can do element-by-element multiplication. You can do this stacking by using repmat which repeats a vector or matrices a given number of times in any dimension …

  7. Efficient multiplication of very large matrices in MATLAB

    Apr 20, 2013 · In MATLAB you obviously do not need programming explicit loops in most cases because you can use operator *. There exists a technique how to speed up matrix …

  8. MATLAB vs Python numpy array/matrix multiplication

    Jul 22, 2015 · I am translating some MATLAB code and am having some problems understanding the syntaxical difference between MATLAB and numpy for Python. In MATLAB I have a 6 by 6 …

  9. Matlab Matrix multiplication ignoring nans? - Stack Overflow

    Jan 6, 2013 · A(isnan(A)) = 0; before running the multiplication. I would advise against re-writing matrix multiplication, since you won't get similar performance to built-in matrix algebra out of …

  10. Boolean Matrix Multiplication in Matlab - Stack Overflow

    Nov 16, 2013 · Matrix multiplication is a series of multiply-and-add operations. If the inputs are all ones and zeros, the result of such an operation will be "zero or greater than zero".