writing and reading data with MATHCAD PRIME 4.0 in a simple way
- April 22, 2020
- 2 replies
- 4575 views
Hi, I am a user, sometimes occasional but now more continuous, of MATHCAD various releases from more than 20 years now. I have always problems in finding a simple way to produce a data file starting from the quantities I define in my programs.
As an example, I wrote a quite simple program using PRIME 4.0 to plot a quantity as a function of another (a magnetic loss vs frequency) using a bias magnetic field as an external loop. So far, z=z(x,y) where both x and y are changed in a loop with x=x1, x1+xstep, ..x2 and the same for y.
At the end I was able to plot z=z(x,yfixed), with several curves depending on the yfixed value, but if I want to export this quantity in a ascii file I am in trouble, because the explanations in the help are not easy to be followed. In particular, I need to produce a file where the first column is the frequency, and all the others are the z-values with different values for y (which I fix when plotting)
In the attached MATHCAD file, the table (file) I want to fill in is that composed by omega and by all the tandelta values depending on the magnetic field Ho.
Do you know any example I can use downloading it?
Thank you very much.

