How to create a vector space?

7 visualizzazioni (ultimi 30 giorni)
Samuel
Samuel il 10 Mag 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?

Risposte (0)

Categorie

Scopri di più su Images in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by