Problem 43032. Geometrical meaning of determinant

Solution 997738

Submitted on 6 Oct 2016 by George Papazafeiropoulos
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
X=[0,1]'; Y=[1,0]'; V = 1; assert(isequal(parallelogram_volume(X,Y),V))

2   Pass
X=[1,0]'; Y=[0,1]'; V = 1; assert(isequal(parallelogram_volume(X,Y),V))

3   Pass
X=[1,0]'; Y=[1,0]'; V = 0; assert(isequal(parallelogram_volume(X,Y),V))

4   Pass
X=[1,0]'; Y=[9,0]'; V = 0; assert(isequal(parallelogram_volume(X,Y),V))

5   Pass
X=[1,0,0]'; Y=[0,1,0]'; Z=[0,0,1]'; V = 1; assert(isequal(parallelogram_volume(X,Y,Z),V))

6   Pass
X=[1,0,8]'; Y=[2,1,0]'; Z=[0,4,1]'; V = 65; assert(isequal(parallelogram_volume(X,Y,Z),V))

Suggested Problems

More from this Author14

Community Treasure Hunt

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

Start Hunting!