Post Reply 
1x1 matrix addrow problem
06-01-2016, 05:04 PM (This post was last modified: 06-01-2016 05:10 PM by std.)
Post: #5
RE: 1x1 matrix addrow problem
Thank you for trying to help me Dale. I really appreciate it.

I am aware of the Concat function but it behaves in this way:
CONCAT([a1],anew) produces a row: [a1 anew] so I have to TRANSPOSE it in order to have a column
CONCAT([column matrix nx1 goes here], anew) produces column, which does not need TRANSPOSE

So I have to either use "if" statement (which I want to avoid as hell during the exams) or right down two cases for the calculation workflow which increases the complexity and I don't want it.

It's not that I don't know how to uses "if" statements, neither that I cannot read a more complex flowchart. I am just trying to make a straightforward flowchart without branches (case1 n=1, case2 n>1 etc) so that other colleagues that don't have experience on algorithms can read and follow easily.

An other problem is that concat always adds the new element at the end or at the start of the vector (depending how you apply it CONCAT(vector, anew) or CONCAT(anew, vector)). However it want to add the element anywhere between, which is possible only for n>1).
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
1x1 matrix addrow problem - std - 05-31-2016, 09:44 AM
RE: 1x1 matrix addrow problem - DrD - 05-31-2016, 11:02 AM
RE: 1x1 matrix addrow problem - std - 05-31-2016, 11:52 AM
RE: 1x1 matrix addrow problem - DrD - 05-31-2016, 03:12 PM
RE: 1x1 matrix addrow problem - std - 06-01-2016 05:04 PM



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