MATLAB: Need help on equation a*b-c*d(t-1)=1….

hello professionals….i need help on equation a*b-c*d(t-1)=1….where a and c are selected randomly and b , d and t are previously calculated.there shoulb be a loop until the equation become equal to one.thank u

Best Answer

For any given "a", there is exactly one "c" that works:
c = (1 - a*b)/(d*(1-t))
If when you say "selected randomly" you mean that they are to be in the range [0,1] then the condition could only be satisfied when c is between 1/(d*(1-t)) and (1-b)/(d*(1-t)) . Exception: if d = 0, then c can be anything and a = 1/b