Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
Hi.
I have this plot in MATLAB:

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

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)
Solved! Go to Solution.
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:

My Mathcad document is also uploadet.
Thanks in advance
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.
