Home
Community
Discussion Forums
Most Active Software Boards
LabVIEW
Topic
LabVIEW
Register
·
Login
·
Help
Community
Category
Board
Documents
Users
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Search instead for
Did you mean:
Topic Options
Subscribe to RSS Feed
Mark Topic as New
Mark Topic as Read
Float this Topic for Current User
Bookmark
Subscribe
Mute
Printer Friendly Page
All Forum Topics
Previous Topic
Next Topic
Transposing a Vector
Transposing a Vector
Tom
Member
10-20-2003
07:06 PM
Options
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report to a Moderator
I need to work out the following for two arrays (vectors)
XT times Y where XT is the transpose of the vector X. ie suppose for a
simple case
X= [x0,x1] and Y=[y0,y1]
then I need x0y0 +x1y1
This I can do with a loop and a lot of fuss but I wondered if there
was a library function for transposing. I can find one but it is for
2D arrays.
Thanks
Tom
0
Kudos
Message
1
of 3
(2,628 Views)
Reply
Re: Transposing a Vector
Enrique
Active Participant
10-20-2003
08:31 PM
Options
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report to a Moderator
Tom;
If you are defining your vectors with arrays, then all you have to do is to multiply the arrays. I attached an example.
If you are using something else than arrays, let us know.
Regards;
Enrique
www.vartortech.com
EXAMPLE_Vectors.vi 15 KB
1
Kudo
Message
2
of 3
(2,628 Views)
Reply
Re: Transposing a Vector
Enrique
Active Participant
10-20-2003
08:34 PM
Options
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report to a Moderator
... and then add the results. I attached a new modified example.
Regards;
Enrique
www.vartortech.com
EXAMPLE_Vectors_2.vi 19 KB
0
Kudos
Message
3
of 3
(2,628 Views)
Reply
All Forum Topics
Previous Topic
Next Topic