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
function y=tps(r) % This is the thin-plate spline if r  y=0; else  y=r^2*log(r); end function y=fun(point) % my target function x=point(1); z=point(2); y=7-4*x^2+z^3;

I would like to ask if its possible to get help programing in matlab. If yes - how can I get help ?

Project: "An Efficient Human Identification Using Gait Analysis" I want apply/follow the same methodology (Methods/Algorithms) for this paper ("Human Gait Recognition Using Bezi

Referring to and Modifying Elements: The particular element in a vector is accessed by using the name of the vector variable and the element number (or subscript, or index) in

The MATLAB system having of five main parts: * Handle Graphics. * The MATLAB working environment. * The MATLAB language. * The MATLAB mathematical function library.

AApproximate the number to the hundredth, ten-thousandths, and one-hundredmillionth.sk question #Minimum 100 words accepted#

IIR filter using Bilinear trasformation

Consider the analytic solution of the projectile problem described. Write a MATLAB script that will prompt the user to enter the launch speed and angle, and will compute the peak h

The natural frequencies of a fixed-fixed uniform shaft made of homogeneous material undergoing longitudinal vibration is given by rad/s, where L is the length of the bar, G is th

I am using the wavelet gui (wavemenu) to decompose some data. I need to be able to export the signals. This is not a problem using only "Wavelet 1D" where only one time series is b