How to create a vector space?

7 Ansichten (letzte 30 Tage)
Samuel
Samuel am 10 Mai 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?

Antworten (0)

Kategorien

Mehr zu Images finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by