how to find unknowns for series of input values?

3 views (last 30 days)
Hi all:
how to find x and y for series of values of m and n.
2xm-3yn=100
x+y=50
where n and m are constants such that
m=[2 5 7 10]
n=[4 20 3 4]
i want to find x and y for all m and n values such taht x and y for the first values of m and n(m=2 & n=4).
again x and y for second values of m and n(m=5 & n=20) and so on...
thanks from all of you.

Accepted Answer

Alan Stevens
Alan Stevens on 15 Oct 2020
Do you mean you want to find the values of x and y that satisfy 2*x*2 - 3*y*4 = 100? If so you should be aware that there are an infinite number of solutions!
Or do you mean you want to find the values of x and y that are a best fit to all 4 sets of equations simultaneousy?
  32 Comments
Alan Stevens
Alan Stevens on 22 Oct 2020
This is a completely different question! - Start a new thread.

Sign in to comment.

More Answers (0)

Categories

Find more on Mathematics in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!