matlab里对数的真数是可以为负值的
比如:
>> log10(-2)
ans =
0.3010 + 1.3644i
clear all;clc;
x=solve('20*log10(x)=-90');
x=x(1)
xx=double(x)