?? drawbivector.m
字號(hào):
function b = DrawBivector(A,B,c)% DrawBivector(A,B,c) : draw the bivector A^B. % A and B must be vectors. c is an optional color argument.%%See also gable.% GABLE, Copyright (c) 1999, University of Amsterdam% Copying, use and development for non-commercial purposes permitted.% All rights for commercial use reserved; for more information% contact Leo Dorst (leo@wins.uva.nl).%% This software is unsupported.if nargin == 2 c = 'y';endA = GAZ(A);B = GAZ(B);if ~GAisa(A,'vector') | ~GAisa(B,'vector') A B error('DrawBivector: A and B must both be vectors.');end% DrawBivector: draw the parallelogram bounded by A,B.X = [0 A.m(2) A.m(2)+B.m(2) B.m(2)];Y = [0 A.m(3) A.m(3)+B.m(3) B.m(3)];Z = [0 A.m(4) A.m(4)+B.m(4) B.m(4)];biarrow(B,A,'g');patch(X,Y,Z,c);draw(A);b = A^B;
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -