Plot 2D/3D Vector with Arrow
by Rentian Xiong
18 Apr 2005
(Updated 20 Apr 2005)
This function plots a line vector with arrow head.
|
Watch this File
|
| File Information |
| Description |
Arrowline 3-D vector plot.
vectarrow(p0,p1) plots a line vector with arrow pointing from point p0 to point p1. The function can plot both 2D and 3D vector with arrow depending on the dimension of the input
Example:
For 3D vector
p0 = [1 2 3];
p1 = [4 5 6];
vectarrow(p0,p1)
For 2D vector
p0 = [1 2];
p1 = [4 5];
vectarrow(p0,p1) |
| MATLAB release |
MATLAB 6.5 (R13)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (35) |
| 21 Apr 2005 |
Jérôme MyLastName
|
|
|
| 21 Apr 2005 |
Rentian Xiong
|
|
|
| 29 Oct 2005 |
Charles Warren
|
|
|
| 14 Nov 2005 |
J. Willard Gibbs
|
|
|
| 30 Nov 2005 |
Justin Maneely
|
|
|
| 22 Mar 2006 |
Anhe Le
|
|
|
| 14 Feb 2007 |
Ronny Meza
|
|
|
| 17 Apr 2007 |
A A
|
|
|
| 27 Apr 2007 |
Levent K
|
|
|
| 27 May 2007 |
sang jun
|
|
|
| 19 Jun 2007 |
Asif Sheikh
|
|
|
| 09 Jul 2007 |
Cornelius Steinhardt
|
|
|
| 16 Oct 2007 |
Elane Phoenix
|
|
|
| 08 Nov 2007 |
Mary Amon
|
|
|
| 08 Nov 2007 |
Audrey Fan
|
|
|
| 09 Nov 2007 |
q q
|
|
|
| 08 Dec 2007 |
Dayu Lv
|
|
|
| 22 Jan 2008 |
s p
|
|
|
| 22 Feb 2008 |
LC Nguyen
|
|
|
| 01 Mar 2008 |
fgfg gdsfgdfg
|
|
|
| 14 Apr 2008 |
stef Keh
|
|
|
| 17 Apr 2008 |
Cai Cai
|
|
|
| 18 Apr 2008 |
d s
|
|
|
| 02 Sep 2008 |
yehua wei
|
|
|
| 02 Sep 2008 |
Adam Ufford
|
|
|
| 15 Oct 2008 |
thong kieu
|
|
|
| 21 Oct 2008 |
p lks
|
|
|
| 21 Oct 2008 |
Mehmet Ozerdem
|
|
|
| 05 Feb 2010 |
Cesar Chillon
|
|
|
| 07 Oct 2010 |
Gautam Sethi
|
|
|
| 24 Feb 2011 |
S
|
|
|
| 05 Jul 2011 |
Floris
|
|
|
| 07 Aug 2011 |
Neha Singhal
|
|
|
| 09 Jan 2012 |
Pratul
|
|
|
| 22 Jan 2012 |
Pablo
|
|
|
|
Contact us at files@mathworks.com