Does anyone have an example using nonlinfit in Hypergraph?

Ken Casagrande
Ken Casagrande Altair Community Member
edited May 2021 in Community Q&A

I am trying to fit some data using an exponential decay function. I tried using polyfit and expfit, but neither really represented the data correctly. I tired nonlinfit but didn't get any results. It's possible I'm using the function incorrectly.

the example in documentation:  nonlinfit(x1, x2, y, {0, 0, 0}, "c1+c2*x1+c3*x2")

My attempt:  nonlinfit(p1w1c5.x,p1w1c5.y,0,0,"c1*c2^x1")

The message: "Invalid type of arguments in : Data 1....nonlinfit(p1w1c5.x,p1w1c5.y,0,0,"c1*c2^x1")."

Answers

  • venkata
    venkata
    Altair Employee
    edited May 2021

    Please find the attached example file as a reference. we have an issue in the document that needs to be addressed.

    image

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.