How to create a vector space?

6 views (last 30 days)
Samuel
Samuel on 10 May 2013
I'm trying to create a vector space
I copied the example from
The following code is from example 1
MatQ := Dom::Matrix(Dom::Rational):
v1 := MatQ([3, -2]):
v2 := MatQ([1, 0]):
v3 := MatQ([5, -3]):
linalg::basis([v1, v2, v3])
I received the following message after typing in the code above:
"Undefined function 'MatQ' for input arguments of type 'char'."
I also tried it without using the Dom::Matrix
v1 = [-pi,pi];
linalg::basis([v1])
I received the following error message:
"linalg::basis([v1]) | Error: Unexpected MATLAB operator."
When I use:
which linalg::basis
I receive the following message:
"'linalg::basis' not found."
Does that mean I'm missing a toolbox?

Answers (0)

Categories

Find more on Images 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!