cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

Residual plot in Mathcad

ptc-5137806
1-Newbie

Residual plot in Mathcad

Hi.

I have this plot in MATLAB:

Untitled.png

And i have triede to plot the same function in Mathcad:

Untitled.png

The points doesn't match. I think the problem is the xi value in the MATLAB code. How do i make exactly the same plot in Mathcad ?.

(x in Matlab is Y in Mathcad) and (t in MATLAB is X in Mathcad)

1 ACCEPTED SOLUTION

Accepted Solutions

something like this?

View solution in original post

7 REPLIES 7

Hi Osman,

How are defined variables "x", "t", "gamma", "beta" in your MATLAB document?

Maybe more luck if you attach your Mathcad worksheet here and provide the informations VladimirN has asked for. A pdf-document showing the Matlab code could be an option.

The MATLAB code:

Untitled.png

My Mathcad document is also uploadet.

Thanks in advance

something like this?

Thank you very much. Where was the error ?

I found it now !. Again, than you very much

The Linear regression Graph in the Mathcad document matches exactly with the Linear regression plot in the MATLAB code. The only problem is the residual plot.

Top Tags