Empty sym: 0-by-1 Log

1 view (last 30 days)
Franzisca Hitz
Franzisca Hitz on 2 Nov 2020
Edited: Ameer Hamza on 5 Nov 2020
Hello
My syntax:
clear clc
clc
syms x y
expr = log10(x*y)-log10(x)+log10(y);
solve(expr)
has the result: Empty sym: 0-by-1
The sult should be 2*log10(y)
How do I need to change my syntax?
Thank you

Accepted Answer

Ameer Hamza
Ameer Hamza on 2 Nov 2020
Edited: Ameer Hamza on 5 Nov 2020
Your equation is
Your equation does not have a unique solution for each 'x'.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!