How to create a vector space?

6 vues (au cours des 30 derniers jours)
Samuel
Samuel le 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?

Réponses (0)

Catégories

En savoir plus sur Images dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by