Why does matlab give me the wrong answer?
6 views (last 30 days)
Priyanshu Mishra on 18 Sep 2019
Although this answer is not wrong, but for getting conditions on the solution, set ‘ReturnConditions’ to true. It will return any parameter in the solution and conditions on the solution. You can try following code:
clear all; close all; clc;
eqn = x-2 >= 0;
S= solve (eqn,x,'ReturnConditions',true)