Attached the mathcad program and pspice simulation
Your Pspice output data file is a binary file. While Mathcad can read that in, it requires a description of the fomat in order to interpret it correctly. And follwoing that some Mathcad programming to implement that interpretation.
It's easier to have Pspice output the result in an ASCII formatted file. I remember there was a setting in Pspice for the Probe data file format.
Alternatively you could use a .PRINT statement in your input deck, to output one or more node voltages to the Pspice output file.
It would appear that PSpice is saving the data in a compressed format, so the file isn't human readable.
Depending on the result you require from the comparison, I can see 2 possibilities:
1. If you want to check the overall shape & scaling of the plot then I would use the aero functions of windows to drag the Mathcad to fill 1 half of the screen & the simulation plot the other.
2. if you need a more definitive mathematical comparison to show the errors at different frequencies then I think that you will need to investigate the options for exporting the data from PSpice to .csv or other data format to enable it to be read.
We use simplis / symetrix as a simulation platform; a command "show /file test1.dat :99" will export the voltage data for node 99 in the simulation.
6.4000000000000006e-010 6.4781084496084267 ...
file truncated !
There are also options to export data to the clipboard from the graphical post-processor.
I don't believe that there is a possibility to transfer data from PSPICE to Mathcad.
You could use the unit of measures in your analysis, as follows:
"I don't believe that there is a possibility to transfer data from PSPICE to Mathcad."
Now there's a challenge. I'm rather convinced of the opposite.
If you set up the schematic in Pspice, be sure to insert an H device (current to voltage converter) in series with your impedance.
Connect the lower output of the H device to ground, and to the upper output you connect a print symbol. This will allow to print the current flowing through your impedance.
Your schematic might look like:
Now run the simulation and afterwards check the Pspice output file. You'll find a table like this:
Copy this table over to a new text file, just the data values! (forget about the FREQ and V(... line.
Now you can read it in with Mathcad.
As you can see, the (solid) red line of the Mathcad model coincides with the (dashed) blue line of the Pspice output.