how to multiply 3d matrix with 2d matrix
Mostrar comentarios más antiguos
i have one matrix 'H' with dimension of 2976 X 2976 and another one is 'Y' of 2 X 2 X 2976. i want H'*y and for this i use " Y(p,q,:)= H'*squeeze(y(p,q,:))". But due to use of squeeze function i'm getting correct values at first running of code but after first running code if i again run code i got different values at second attempt i.e values vary at every time if i run code.I'm attaching snapshot of my result with this. anyone can solve this issue, it will be very helpful.
1 comentario
Sivakumaran Chandrasekaran
el 12 de En. de 2016
the best solution is.. take a of size 3,3... and b of size 2,2,1...multiply it.. check manual calculation also.. cross check it.. you can easily find how matlab works.. then you can apply for big sized matrix
Respuestas (0)
Categorías
Más información sobre Logical en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!