SMath Studio Forum
»
SMath Studio
»
Bugs & Problems
»
Strange results of nested vectorize() for nested matrices
Rank: Advanced Member Groups: Registered
Joined: 17/01/2013(UTC) Posts: 296 Location: Khabarovsk, Russia Was thanked: 151 time(s) in 107 post(s)
|
I observe strange results from using constructs like vectorize(vectorize(M)), where M is a matrix which elements are matrices. Could someone explain the logic? Or is this a bug? nested-vectorize.sm (19kb) downloaded 18 time(s).Edited by moderator 20 May 2016 21:18:42(UTC)
| Reason: marked as issue |
Best regards, Mike Kaganski |
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Mike, Your M matrix is a collection of items. Mathematica defines as 'cell array' Matlab defines MDA [Multi Dimensional Array] The vectorie operator must have at least two arguments to produce. You are attempting to vectorise M over itself, a non sense in some way. Try to multiply M*N, where 'N' will be of similar construct of different values and put that under the vectorise operator. You should get result. Jean
|
|
|
|
SMath Studio Forum
»
SMath Studio
»
Bugs & Problems
»
Strange results of nested vectorize() for nested matrices
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.