Empty sym: 0-by-1 Log

9 Ansichten (letzte 30 Tage)
Franzisca Hitz
Franzisca Hitz am 2 Nov. 2020
Bearbeitet: Ameer Hamza am 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

Akzeptierte Antwort

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

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by