03-22-2012 12:37 PM
Hello everyone,
hope everyone is doing great! I have a question on a problem I was asked to do. It says i have to calculate the inner dot product, so I'm wondering if I did it right? The constraints are that one way is to do ite with only discrete functions from the numeric palette, and the other only matrix functions from the linear algebra palette. So I'm just hoping this is the correct way to do it.
Thanks
Solved! Go to Solution.
03-22-2012 12:53 PM
Back for more homework help, I see.
Hint: Compare it to the definition of the dot product. What does it mean when you multiply two arrays? What does LabVIEW actually do?
Have you tried putting values in and comparing the result to doing the dot product by hand?
03-22-2012 02:23 PM
yep back for help 😃
anyway yes, I used an online calculator to comute the values and I get the same results as I did on labview. I'm just wondering if the way I did it met the contraints.
03-22-2012 03:00 PM
Well, what do you think? The requirements were:
Did you do both? Seems like it to me. Although I think you can just get away with 2 arrays instead of 4 and simply pass the same X and Y arrays to both implementations, instead of entering the same data into two different arrays.
03-22-2012 03:16 PM
yeah I was just checking for reassurance since the directions seems ambiguous since i can easily just use the dot product vi from the linear algebra palette. I guess I was just questioning what is the point of this problem. Seems to easy XD
03-22-2012 03:33 PM
Because in the dark ages we didn't have the nice, convenient linear algebra functions, so you had to know how to do it "manually". That's the point of most homework problems. For you to understand the concept so you know what it actually means, and the implementation so you know how to do it yourself.
Just like in the dark ages we didn't have Google, so we used these buildings called libraries. And you looked things up in these great big cabinets full of drawers that had hundreds of cards in them. And you had to know the Dewey Decimal system.
03-22-2012 03:44 PM
great answer, and great response 😃
I can't really imagined living in those days, but I'm thankful for what i have.