Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Get index values from table array

Status
Not open for further replies.

iker

New member
May 13, 2003
7
0
0
MX
I am using table parameters for applying varying pressure loads over nodes located on areas. I have mapped the area and some values of pressure over the refernce points have been set up on the table.

The problem is that i have to get the initial values of the zero column and zero row (index values) that i use for the interpolation and after trying it i never get the values of the positions (0,0), (0,1), (0,2)... I get instead the interpolated results with these input values....

Does anybody know how to get the values of Row & Column ZERO on any table parameter once they have been defined??

Thank you in advance

 
Replies continue below

Recommended for you

Sorry, but I can't understand your problem?

It's so easy! parameter1=table(0,0); parameter2=table(0,1) and so on.

Where is the problem?
 
The problem is the following one
Let's suppose that we have the following table called "partable":

0 .5 1 1.5
0 11 12 13 14
.5 21 22 23 24
1 31 32 33 34
2 41 42 43 44

Note that Zero Rows & Columns are defined with indexs 0 .5 1 & 1.5

Suppose that I request for the second index value on zero column (Row=2, Column=0) (i want to be returned the value .5 corresponding with second index value)
If I request par1=partable(2,0)
par1 will be returned with value 41 and not yhe index value...

How can the index values can be retrived after being defined??


 
Status
Not open for further replies.
Back
Top