Vector Addition in MatLab...?
-
I'm trying to write a vector addition program in MatLab and can't figure out how to do it. This is the first time I am using MatLab to do anything and it is much different than the C++ programming I am used to. If someone could show me a completed vector addition which I could use as a template I would be very appreciative.
-
Answer:
MatLab is way easier than c++. You are probably trying to make this harder than it is. If you have defined vector a =[ 1 2 3] and vector b=[2 3 4], than just type a+b to add them. Yes, it's really that simple! MatLab is short for Matrix Laboratory, and it is very easy to manipulate matrices or vectors in MatLab, once you learn the syntax.
Inferno1... at Yahoo! Answers Visit the source
Other answers
You Can Do it By treanting the vector one dimentional matrix. And adding the simpley by + .varibles are defaultly matix in Matlab
mohammad agakhani
Related Q & A:
- What Is Vector Trap?Best solution by zoneoftheenders.wikia.com
- Is there a collectionwise normal topological vector space which is not paracompact?Best solution by Mathematics
- How are vector spaces viewed as universal algebras?Best solution by math.stackexchange.com
- How to draw this fractal using MATLAB?Best solution by Stack Overflow
- How to delete temporary files in MATLAB?Best solution by Stack Overflow
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.