Skip to main content
Jul 1, 2017 1:19 PM UTC
Solved

Regression

Afternoon everyone!

Could anyone please help me with the atteched file? I have the acceleration data (a) for a specific time (t) and I need to get the acceleration (ug) for a different time (tmod), using linear regression. When I try to code it I always get an error. Could someone tell me what I am doing wrong or how to do it? I will really appreciate it.

 

 

Regards,

Carmen

VladimirNAnswer
Jul 6, 2017 8:45 AM UTC

 Please find corrected worksheet in attachment. 

For the future - post your messages in Mathcad section, here: https://community.ptc.com/t5/PTC-Mathcad-Questions/bd-p/PTCMathcad

 

@Tmetcalf Please replace this topic into Mathcad section: https://community.ptc.com/t5/PTC-Mathcad-Questions/bd-p/PTCMathcad

3 replies

Jul 2, 2017 10:36 AM UTC

The question is related to Mathcad.

Jul 2, 2017 6:56 PM UTC

Please find attached the code in case Mathcad doesn't contain the data.

The error I get is 'This array index is invalid for this array'

Regards,

Carmen

VladimirNAnswer
Jul 6, 2017 8:45 AM UTC

 Please find corrected worksheet in attachment. 

For the future - post your messages in Mathcad section, here: https://community.ptc.com/t5/PTC-Mathcad-Questions/bd-p/PTCMathcad

 

@Tmetcalf Please replace this topic into Mathcad section: https://community.ptc.com/t5/PTC-Mathcad-Questions/bd-p/PTCMathcad