×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Get index values from table array

Get index values from table array

Get index values from table array

(OP)
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

RE: Get index values from table array

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?

RE: Get index values from table array

(OP)
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??


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources