PDA

View Full Version : Anyone on here good with matlab?



Lame Duck
01-03-2009, 21:59
I know how to solve simultaneuos equations using matrices.

However, what do you do when you try to solve an equation which has two arrays in it?

Say A= [1,2,3]
and B = [4,5,6]

and A=B*C+D for each value (ie when a=1 and b=4) then how do you find c and d wich are constants? Do you need to use the for loop somewhere?

Thanks

Feel free to swap around the numbers or equation or number of variables if you are worried about me just being lazy. I just need to know the actual method so I can apply it. (The equation isn't even what I need to solve)

RapidKiller
02-03-2009, 17:46
Are C and D arrays, even so
i dont thik you can find C+D with just A and B