How to create a vector space?
조회 수: 7 (최근 30일)
이전 댓글 표시
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?
댓글 수: 0
답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!