Hello!
I do some calculations in LTSpice by using directive .meas in ac analysis. However, LTSpice shows results in dB (in error log) and I can't do simple conversion dB to V (dB=20log(V/V0)), because when I try to do this (conversion) LTSpice just returns the result of expression in dB. For example, I have a measure, which value is 50 dB, then I divide it by 20 (for the conversion from dB to V), and I will get 23,98 dB, not 2.5. Thus, LTSpice converted 20 to 26.02 dB and then, instead of dividing, it subtracted from 50 dB 26.02 dB and result is 23.98 dB.
So, the main question is how can I do conversion from dB to V in ac analysis by using directive .meas? May be some other options or directives, or smth... Or I can't use other units, except dB, in .meas ac analysis?
With best regards, Artem.
I do some calculations in LTSpice by using directive .meas in ac analysis. However, LTSpice shows results in dB (in error log) and I can't do simple conversion dB to V (dB=20log(V/V0)), because when I try to do this (conversion) LTSpice just returns the result of expression in dB. For example, I have a measure, which value is 50 dB, then I divide it by 20 (for the conversion from dB to V), and I will get 23,98 dB, not 2.5. Thus, LTSpice converted 20 to 26.02 dB and then, instead of dividing, it subtracted from 50 dB 26.02 dB and result is 23.98 dB.
So, the main question is how can I do conversion from dB to V in ac analysis by using directive .meas? May be some other options or directives, or smth... Or I can't use other units, except dB, in .meas ac analysis?
With best regards, Artem.