Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
I was wondering if anyone can help me create a programme in MathCAD for the following situation.
I have four matrices
Therefore all I want to is do is determine the 18 results that would result from the following equation
M=value+vvariable1*variable2+variable3*variable4
I have been trying to do this using the 'for'' function. Ideally the programme would do the following to detemine the 18 combinations
I hope this makes sense to some and any help will be appreciated. I have been going around in circles today at work putting off the innevitable of manually doing which would make it look an untidy document.
Many Thanks
Solved! Go to Solution.
There a some different errors in the sheet which i hav corrected - see attached with remarks
Units are no problem here, but you cannot add a lenght and an unitless value. Have corrected page 33, too.
Please post a worksheet with your attempts so far. That way we can see which version you are using, don't have to type all in and maybe see better what you are going to attempt.
You can attach files by chosing extended Editor at the upper right.
Can it be you have something like this in mind:
Thank you for the above- it is extremely helpful. However I think I possibly over simplified my explanation because when it came to implementing your solution I have actually got a few more matrices. Please see image attached for the range of values and the equation to be used. Also it also doesn't seem to like units- does it have to be unitless? I don't suppose you could take another look?
For your cross reference in my original post I considered
For the attached situation all other matrices are to match the row in LEmast if they comprise two rows or to match the row in FMastpp if they comprise 3 rows. There should still be 18 combinations.
Many thanks
James
Attach the workheet, please. Don't see what error is thrown here.
You calculate x but retruen s!?
Problems with units are possible if you try to assign different units in a matrix.
I have attached the worksheet- the problem that have raised is on page 34 of the worksheet.
Please ignore the one on the previous page as I will fix that once I know how to get the answers for the longer equation.
Many thanks for your help
James
There a some different errors in the sheet which i hav corrected - see attached with remarks
Units are no problem here, but you cannot add a lenght and an unitless value. Have corrected page 33, too.
That is amazing- thank you very much for your time and effort.