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

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! 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)

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?

Werner_E
25-Diamond I
(To:ptc-5137806)

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.

Announcements

Top Tags