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
Functions which return More than one Value: Functions which return one value have one output argument. The Functions which return more than one value should rather have more t

how to find absolute value of a number

how to display any words to the edittor

#question.i want to know the number of pixels related to the actual phase value and want to separate the zero phase valued pixels from the image..

Functions with Local Variables: The functions we have seen faraway have been very easy. Though, in many situations the computations in a function are more complex, and may nee

Goal: Learn how to do statistics, sorting and curve fitting in Matlab. Put all of those ".m" files in a folder called yourname_lab7, and zip the folder and submit it on the class w

i need help with a monte carlo simulation. I have most of the code, but I can''t get it to plot correctly

Obtaining the Partial Fraction Expansion of the Z-Transform expression and to find its Inverse Z-Transforms using MATLAB

How to calculate 2D/3D structure tensor of image

my project is on load frequency control using FPID tuned using GA and PSO algorithm.the system is a two area system.