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

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

Define multiple vector positions in one line

dsochor
5-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

Here are two more ways using range variables:

positions1.png

View solution in original post

6 REPLIES 6

A few ways in the attached.

Alan

Here are two more ways using range variables:

positions1.png

LucMeekes
23-Emerald III
(To:Werner_E)

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)

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

Here you are

alan.png

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

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

Top Tags