Create a new vector - vector manipulation, MATLAB Programming

Write single MATLAB statements to create these vectors from any vector Z. You can use vector Z shown as a sample input. Create a single m-file script (non-function) to containing all the statements. Comment each problem 'a' through 'e' in your m-file.

Z = [4 5 2 8 4 7 2 64 2 57 2 45 7 43 2 5 7 3 3 6523 3 4 3 0 -65 -343];

a. Create a new vector vecA that is the odd numbered elements of Z (not the odd values, the elements with odd indexes).

b. Count how many elements of Z are less than or equal to 10.

Posted Date: 3/23/2013 2:41:12 AM | Location : United States







Related Discussions:- Create a new vector - vector manipulation, Assignment Help, Ask Question on Create a new vector - vector manipulation, Get Answer, Expert's Help, Create a new vector - vector manipulation Discussions

Write discussion on Create a new vector - vector manipulation
Your posts are moderated
Related Questions


ACTIVITIES OF A PROJECT 1-2 1-3 1-4 1-5 2-6 3-6 3-7 4-7 5-7 7-6 6-8 7-8 THE COMMPANY LOSES 2,000 FOR EVERY WEEK THE PROJECT LASTS BEYOND 30 WEEKS. fOR EACH OF THE PROPOSALS; ACTIVI

i need someone to write a matlab code to solve a model.

Hi I''m wondering if someone can help me with Matlab coursework

please tell me the procedure of Anova two Way analysis in matlab?

Minimum Cost Pizza Problem. Using only the items given in the tables below, create a minimum cost pizza which satis?es both the nutritional requirements of Table 1 and bounds on it

Input in a for Loop: The script below repeats the process of prompting the user for a number, and echo printing the number (that means simply printing it back out). A for loop

Illustration of Output statements: For illustration, >> disp('Hello') Hello >> disp(4^3)   64 The formatted output can be printed to the screen by using the fpr

Illustrations of calling the rand function: The function ‘rand’ can be used to produce random real numbers; calling it produces one random real number in the range from 0 to