vectorization in tensors, how to add vector and matrix
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi, say I have a 3X4 matrix M and a 1X100 row vector V. I want to add them (M+V) to create a 3D tensor T of 100X3X4. Meaning, I want to get a tensor consisting of the M matrix + V(index).
How should I go about that?
I previously asked this question but I just want the simplest possible way to do that
Ver también
Categorías
Más información sobre Logical en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!