Changes with array operations in 2016a prerelease vs 2016a?
14 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
T
el 16 de Mzo. de 2016
Comentada: Steve Eddins
el 16 de Mzo. de 2016
Anyone notice or find documentation on changes to matrix operations functionality between 2016a pre-release and full version, specifically for element-by-element binary operations (versus having to use the bsxfun)? I wrote some code in the 2016a prerelease which required a lot of computations involving multiplying row and column vectors with arrays of varying dimensions, and was somehow able to do this in the prerelease with just element wise notation (I thought maybe this was a now built in for arrays of size m by 1, or 1 by n??). I'm now having to revert back to using bsxfun() for array multiply, plus, etc. Did I miss something in the documentation or am I (hopefully not) going crazy?
Cheers,
3 comentarios
John D'Errico
el 16 de Mzo. de 2016
Yes. If you did write code that operated differently/successfully in 2016a(pre) please show an example or two.
Respuesta aceptada
Steve Eddins
el 16 de Mzo. de 2016
No, you are not going crazy. We were trying some new behavior in the prerelease for some operators and functions. Testing revealed some issues we needed to address, so we pulled the change from the final R2016a release. The prerelease documentation did not include information about the change.
2 comentarios
Steve Eddins
el 16 de Mzo. de 2016
I like your code without the bsxfun calls a lot better. Stay tuned.
Más respuestas (0)
Ver también
Categorías
Más información sobre Matrix Indexing 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!