×
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

Problem with matrix

Problem with matrix

Problem with matrix

(OP)
Hi I'm trying to sum a matrix and I get an error.
I have a document where its done and im trying to do the same.

The error can be viewed here:
http://anniss.dk/pic/mcdproblem.jpg
(or in the attatchment)

Im using mcd 14, and the document Is most lilekly created in mcd. 13. Its proberly just a setting I need to ajust. Please help smile?

RE: Problem with matrix

(OP)
I should mention that I have used "subscript" when I wrote "tk" in the sum..

RE: Problem with matrix

You are right " Its proberly just a setting I need to ajust."

What is the index of the first element in your vector?


 

Cheers

Greg Locock

SIG:Please see FAQ731-376: Eng-Tips.com Forum Policies for tips on how to make the best use of Eng-Tips.

RE: Problem with matrix

I think what Greg is trying to say is that the default origin is 0.  With k=1..n, you are summing to an invalid index n.  Either change ORIGIN to 1 or k=0..n-1.
 

RE: Problem with matrix

Next time, posting the actual sheet would be more useful than a picture of the sheet, particularly since the actual sheet would give you the error message that would have made it obvious what the problem is: "The array index is invalid for this array"

If this is not the actual error message, it should be, but that means that you've used the literal subscript operator "." instead of "[" for the index subscript.

TTFN

FAQ731-376: Eng-Tips.com Forum Policies

RE: Problem with matrix

(OP)
Thx to jghrist I got it.  

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