Vector equation with two unknowns
Show older comments
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?
Accepted Answer
More Answers (1)
John D'Errico
on 5 Dec 2018
syms V W
VW = solve([ -1 0 0 ]*V == [ 0 -1/3 0 ] + [ -4 4 0 ]*W)
VW =
struct with fields:
V: [1×1 sym]
W: [1×1 sym]
>> VW.V
ans =
1/3
>> VW.W
ans =
1/12
Categories
Find more on Symbolic Math Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!