Need Matlab help

Discussion in 'Programmer's Corner' started by secondhandloser, Feb 15, 2010.

  1. secondhandloser

    Thread Starter Member

    Sep 30, 2008
    I'm trying to set up a Matlab M file to plot the results from a circuit.

    The circuit consists of a source (14.4kVRMS) a line (Z= .75+j20 ohms) and a load(which varies)

    I would like to be able to plot the VA across the load, versus the power factor of the load(for both leading and lagging pfs). Now the rub is that I must keep the load voltage within +-10% of the source voltage.

    I attached the M-file that I have pulled together so far.

    Thanks for your help!
    • iter.txt
      File size:
      410 bytes