×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Contact US

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!

*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

Matrix Error

Matrix Error

Matrix Error

(OP)
Can somebody help me resolve this error in Matrix output?

I came across in the internet this useful template but I want to customize to increase its usage.

The Matrix output on the attached MathCad File will have an error when the Number of Pedestal will be greater than 3. I can't figure out which variable limits this situation.

Thank you.

RE: Matrix Error

I would say, just looking at it, your Excel spreadsheet only allows for four values. So, how do you exspect to get more out of it?

RE: Matrix Error

(OP)
No, it's not. because i already tried revising the output range in the excel file to include even 6 pedestals. i doubted the settings of the total number of loads. but i have no idea how this relates to the overall matrix formulation.

RE: Matrix Error

(OP)
Thanks for your response Occupant. But Final MatrixLoad has no result, this was my problem. one of the error is "This array has an incorrect number of rows and column"

RE: Matrix Error

MathCAD also has a limit to how big a matrix can get... might be having a hissy if you're getting too large.

look into making the output an excel file or a CSV.

RE: Matrix Error

(OP)
Yes, its quite big around 9 x 29 for 1 pedestal, 9 x 116 for 4 pedestals, that is 29 rows (for load comb) will be added for each pedestal added to the matrix.

But i even tried reducing the number of load combination to only 3 (from 29 orig), the matrix size is 9 x 9 for 3 pedestals, 9 x 12 for 4 pedestals and still the error occur in 4 pedestals.

RE: Matrix Error

Your Excel insets don't appear to be correctly inserted in the sheets. They all should have something along the lines of:

XY:={Excel}

You should be using Insert Component | Excel Worksheet, which should give you almost the exact same thing, except for the empty placeholder to the left of a := next to the component.

TTFN
FAQ731-376: Eng-Tips.com Forum Policies

RE: Matrix Error

(OP)
Sorry Occupant but, i did the review of your attached file and the error is still there. Please take a look on the attached PDF file. I made a comparison between 3 pedestals which gave the MatrixLoad as shown in Page 5 of 10, and with 4 Pedestals which returned first error on page 9 of 10, and eventually Page 10 of 10 is blank.

I am sure its not on the size of Matrix, because i already tried reducing NoOfComb from 29 to 3, but the error is still there.

RE: Matrix Error

Let's see if I got this right You want in the end to wind up with a matrix called MatrixCombFactor size:115x7 (assuming 4 pedestals) and each field in that matrix again holding a matrix 29x28 to cover all combinations?

RE: Matrix Error

(OP)
I found the error guys, it is on the multiplication of the following lines:
CombFactor*submatrix(MatrixLoad,NoOfLoad*k,NoOfLoad(k+1)-1,0,NoOfForce-1)

- The difference between NoOfLoad(k+1)-1] - [NoOfLoad*k] should be equal to the number of loads, (i.e NoOfLoad-1 to account 0, so i change the formula:
CombFactor*submatrix(MatrixLoad,0,NoOfLoad-1,0,NoOfForce-1) and it ran as i expected!

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! Already a Member? Login


Resources

Low-Volume Rapid Injection Molding With 3D Printed Molds
Learn methods and guidelines for using stereolithography (SLA) 3D printed molds in the injection molding process to lower costs and lead time. Discover how this hybrid manufacturing process enables on-demand mold fabrication to quickly produce small batches of thermoplastic parts. Download Now
Design for Additive Manufacturing (DfAM)
Examine how the principles of DfAM upend many of the long-standing rules around manufacturability - allowing engineers and designers to place a part’s function at the center of their design considerations. Download Now
Taking Control of Engineering Documents
This ebook covers tips for creating and managing workflows, security best practices and protection of intellectual property, Cloud vs. on-premise software solutions, CAD file management, compliance, and more. Download Now

Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close