Connect with us

ngspice

Discussion in 'General Electronics Discussion' started by abhay0701, Sep 3, 2012.

  1. abhay0701

    abhay0701

    2
    0
    Sep 3, 2012
    * g ckt
    C2 4 0 1
    C4 3 0 1
    C1 6 4 2
    C3 7 0 1
    L2 5 7 2
    L3 5 0 2
    L1 2 6 2
    R3 3 5 4
    R2 4 3 4
    R1 1 2 3
    v1 1 0 DC 1V AC 1V
    .ac oct 0.02 .02 20
    .END

    need to plot magnitude and phase plot using ngspice.
    i am new in this field.
     
  2. Harald Kapp

    Harald Kapp Moderator Moderator

    9,137
    1,846
    Nov 17, 2011
    To simulate use the .AC statement.
    For output look up .print and .plot in the ngspice manual. Magnitude and phase are plottype AC.
     
    Last edited: Sep 3, 2012
  3. abhay0701

    abhay0701

    2
    0
    Sep 3, 2012
    can u explain it.. plz
     
  4. davenn

    davenn Moderator

    13,249
    1,746
    Sep 5, 2009
    have you read the manual link Harald gave you ?


    Dave
     
  5. Harald Kapp

    Harald Kapp Moderator Moderator

    9,137
    1,846
    Nov 17, 2011
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-