i'm was trying to simulate a amplitude modulator - demodulator system using MATLAB n PSPICE . I have generated a AM signal in MATLAB and know want to use a simple envelope (diode ) detector circuit to demodulate it .
Can anyone shed light in how to export the data
from MATLAB TO ORCAD PSPICE
Matlab can save ascii files and you can use its printf (or maybe it is print) function to format it however you want. You can then use a piece-wise-linear in spice to take the discrete matlab values.
Is there a reason you haven't made an amplitude modulator in spice?