Vec:: In Windows Version But Not in Linux?
9 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Mark Stone
el 24 de En. de 2014
Respondida: Mark Stone
el 24 de En. de 2014
The vec "operator", which reehspes a matrix into a vector by stacking its columns, and is widely using in books and papers on advanced matrix and tensor analysis, seems to be present in MATLAB R2013A and R2013B for WINDOWS, but not in R2013A for LINUX, although I'm not sure whether it might perhaps be lurking outside of the the core MATLAB somewhere in the WINDOWS version. Can someone please clarify the situation? Even though reshape can be used in lieu of vec, why lose backward compatibility?
Thanks.
0 comentarios
Respuesta aceptada
Walter Roberson
el 24 de En. de 2014
vec() is not supplied by Mathworks in any version.
On one of the systems where it works, please use
which -all vec
and show us the result. That will give us an idea of where it came from.
My speculation is that you have downloaded a third-party package on some of the machines but not all of them.
0 comentarios
Más respuestas (1)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!