Post Go back to editing

.four statement for pure sine is now cos phi?

Category: Software
Product Number: 0
Software Version: 24.0.9

Hi, 

I noticed that newer versions of LTspice (at least 17.1.15 and 24.0.9 @Win11) gives different phase angle for harmoncis than older versions as 17.0.35.0 @Win10.

Simulation example, 1kHz sinewave:


whether newer versions .four-statement seems interpret a sinusoidal signal as a cosine form, or is there a bug?
In addition, the degree symbol does not appear at all in newer versions, only empty box.

Regards,

Axioma




Parents
  • Dear  ,

    There are two seperate issues here.

    (1) The phase. Yes there is a bug, and it's in LTspiceXVII. .four gives you the coefficients of the Fourier series of the waveform.

    (2) The degree circle gone. That's a new one, and I can't reproduce it. What language is your MS-Windows set to?

    Best Regards,
    Mathias

Reply
  • Dear  ,

    There are two seperate issues here.

    (1) The phase. Yes there is a bug, and it's in LTspiceXVII. .four gives you the coefficients of the Fourier series of the waveform.

    (2) The degree circle gone. That's a new one, and I can't reproduce it. What language is your MS-Windows set to?

    Best Regards,
    Mathias

Children
No Data