How can I calculate log10(variable) ??? there is error..
2 views (last 30 days)
Dave B on 17 Oct 2021
Assuming you've defined your variable and it's numeric, this should work:
x=[100 200 500 1000];
It may fail if you haven't defined your variable:
Or if your variable is not numeric: