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

Define multiple vector positions in one line

SOLVED
Regular Member

Define multiple vector positions in one line

In the attached MathCAD 14 worksheet, I have a 12 position vector and want to set the first 4 terms equal to one value, second 4 terms equal to one value and the third 4 terms equal to one value without having to define each term individually. Is there a way to do this in three seperate lines or possibly one line?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Define multiple vector positions in one line

Here are two more ways using range variables:

positions1.png

6 REPLIES 6

Re: Define multiple vector positions in one line

A few ways in the attached.

Alan

Re: Define multiple vector positions in one line

Here are two more ways using range variables:

positions1.png

Re: Define multiple vector positions in one line

Here are two more ways to do it:

Matrixfillers.gif

Success!

Luc

(Sorry I couldn't look at Alan's methods, I'm on Mcad 11 only now)

Re: Define multiple vector positions in one line

(Sorry I couldn't look at Alan's methods, I'm on Mcad 11 only now)

Here you are

alan.png

Re: Define multiple vector positions in one line

Werner Exinger wrote:

(Sorry I couldn't look at Alan's methods, I'm on Mcad 11 only now)

Here you are

I added another (Werner must have been very quick off the mark in looking at the first one I posted!) - see below.

Alan

position.PNG

Re: Define multiple vector positions in one line

Oops, too quick. Sorry that i missed that one!