Post Reply 
SIZE()
06-24-2015, 08:17 AM (This post was last modified: 06-24-2015 08:20 AM by Angus.)
Post: #3
RE: SIZE()
There is MAKELIST and MAKEMAT. Is there a MAKEVEC? I cannot find anything like it.

I have difficulties with vectors and 1 dimensional matrices being different types. My Problem is atm. I have a Vector. i define it as M1:=[0,1,2,3,4,5,6,7]; Fine. It can be stored in M1 which is a Matrix! First surprise for me that it is not a Matrix but a Vector. i.e. a Matrix of one column is something different... :-(

My initial problem was that I tried a piecewise DOT() over the above vector to achieve an FIR filtering with a core.
I can generate core:=MAKELIST(....) But DOT() gives bad argument type. When I try something like: DOT(SUB(data,first,length(core)+first-1),core);

How can I convert a List into a compatible vector or even better: is there a functino like MAKELIST or MAKEMAT for vectors.

I really was under the impression that a vector is always a 1-dimensional Matrix. Now there is kind of confusion on the types. And why they are compatible enough to store a vector in M1.

Is enlightening doable? :-))
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
SIZE() - Angus - 06-23-2015, 10:39 AM
RE: SIZE() - Tim Wessman - 06-23-2015, 02:41 PM
RE: SIZE() - Angus - 06-24-2015 08:17 AM
RE: SIZE() - Didier Lachieze - 06-24-2015, 08:37 AM
RE: SIZE() - Gerald H - 06-24-2015, 08:43 AM
RE: SIZE() - DrD - 06-24-2015, 11:45 AM
RE: SIZE() - Angus - 06-24-2015, 09:23 AM
RE: SIZE() - Gerald H - 06-24-2015, 10:35 AM
RE: SIZE() - Gerald H - 06-24-2015, 10:36 AM
RE: SIZE() - Angus - 06-24-2015, 10:55 AM
RE: SIZE() - Gerald H - 06-24-2015, 11:17 AM
RE: SIZE() - Gerald H - 06-24-2015, 12:13 PM
RE: SIZE() - Angus - 06-24-2015, 12:17 PM
RE: SIZE() - Gerald H - 06-24-2015, 12:23 PM
RE: SIZE() - Angus - 06-24-2015, 12:41 PM
RE: SIZE() - DrD - 06-24-2015, 02:51 PM
RE: SIZE() - Angus - 06-25-2015, 05:20 AM
RE: SIZE() - Gerald H - 06-25-2015, 06:35 AM
RE: SIZE() - Angus - 06-25-2015, 07:57 AM
RE: SIZE() - Gerald H - 06-25-2015, 10:02 AM
RE: SIZE() - Gerald H - 06-25-2015, 10:35 AM
RE: SIZE() - Angus - 06-25-2015, 10:45 AM



User(s) browsing this thread: 6 Guest(s)