What does it mean by *+ operation
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I found someone using *+ in their code, but I don't know what this operation does. For example,
ones(3,3)*+ones(3,3)
yields a 3*3 matrix whose entries are all 3.
0 comentarios
Respuestas (1)
Steven Lord
el 6 de Jun. de 2016
In this context + is the unary plus. See the help for uplus. Once MATLAB has applied uplus to the second array, it then performs normal matrix multiplication.
2 comentarios
Ver también
Categorías
Más información sobre Creating and Concatenating Matrices 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!