What does data structure mean? Objective of this problem is to learn the data ma
ID: 3010608 • Letter: W
Question
What does data structure mean?
Objective of this problem is to learn the data matrix/vector manipulation operations of Matlab. You are required to do this problem without using for and/or while loops. Create a vector of consecutive numbers between 1 and 5 called a. Create a vector of even numbers between 10 and 18 called b. Compute c=a+b. Multiply first element of a by the first element of b, second element of a by second element of b and so on and call the outcome d. Think about how many data points this would create. What's that data structure? What is the operator you need to create that data structure? Display the answer. Multiply each element in a by each element in b and call the outcome e. Think about how many data points this would create and what's the best way to present this data? What is the operator you need to create that data structure? Display the answer.Explanation / Answer
reating vectors :to crate vector you simply introduce it on the left hand side of an equal sign.
advantages:
using the built in functions ones,zeros.linspace,logspace
assigning a mathematical expressions inolving vectos
using colon notations
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.