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

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Define multiple vector positions in one line

dsochor
10-Marble

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?

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(To:dsochor)

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

Werner_E
25-Diamond I
(To:dsochor)

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)

Werner_E
25-Diamond I
(To:LucMeekes)

(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

Werner_E
25-Diamond I
(To:AlanStevens)

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

Announcements

Top Tags