cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

We are working to address an issue with subscription email notifications. In the meantime, be sure to check your favorite boards for new topics.

Problem with merging vectors

mzarrabi
12-Amethyst

Problem with merging vectors

Hi all, I have several column vectors that I need them to be merged into a one big column vector. The problem is that as they have several dimensions, Mathcad add zeros to match their dimension before merging them. The zeros make errors in calculations. I wonder how I can avoid these zeros? Many thanks.

1 ACCEPTED SOLUTION

Accepted Solutions

How about this:

bild.PNG

 

View solution in original post

5 REPLIES 5

try:

 

stack(y1,y2,y3)

 

Thank you for your response, but I want to use it in a loop in a way that regardless of the number of vectors (y), the function can automatically do that. For example, if there are 10 different vectors (y), there would be no need to change the function to work. I hope you find my explanation clear.   Best.

How about this:

bild.PNG

 

mzarrabi
12-Amethyst
(To:Werner_E)

perfect, that's exactly what I was looking for. Thank you a lot.

And this other?

stack.gif

Best regards.

 

Alvaro.

Top Tags