Answered step by step
Verified Expert Solution
Question
1 Approved Answer
matlab question&&&&&&& matlab@@@@@@ matlab@@@@@@@ matlab matlab qestion &&&&& matlab matlab matlab matlab matlab matlab matlab matlab Problem 2: Matrix Vector Operations [5pt] a) Create a
matlab question&&&&&&& matlab@@@@@@ matlab@@@@@@@ matlab matlab qestion &&&&& matlab matlab matlab matlab matlab matlab matlab matlab Problem 2: Matrix Vector Operations [5pt] a) Create a program named my_dot Product which USING LOOPS calculates the dot prod- uct of two vectors (of dimensions 1 x n) from the keyboard. The program should check the input from the user making sure that the vectors are the right dimensions. If the vectors are not then an error message should be outputted to the user. If the vectors are of the right dimensions then the answer should be outputted to the user. Using your code, complete the following table: 31-2j+4k 2i+2j-3k 0i+Oj-1k1i-Oj+Ok 21+13+2k -li+2j+5k b) Create a program named my_arrayCount which inputs an n xm array and determines (USING LOOPS) how many elements in the array are greater than zero and how many are less than zero. The program should then output the answers. Using your code, complete the following table: n (>0) n (
matlab question&&&&&&&
matlab@@@@@@
matlab@@@@@@@
matlab matlab qestion &&&&&
matlab
matlab
matlab
matlab
matlab
matlab
matlab
matlab
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started