MATLAB: Vector equation with two unknowns

2 unknown vector equationvector equation

Hi!
I am new to matlab and have this problem:
[ -1 0 0 ]*V == [ 0 -1/3 0 ] + [ -4 4 0 ]*W
How do I code this to find V and W?

Best Answer

Read about solve() and vpasolve()
syms V W
[V,W]=solve([ -1 0 0 ]*V == [ 0 -1/3 0 ] + [ -4 4 0 ]*W,V,W)
Command window:
>> COMMUNITY
V =
1/3
W =
1/12
>>
Related Question