matlab, Electrical Engineering

Exercise 1: Data array manipulation and selection using for loops
These exercises demonstrate the use of for loops in array manipulation and selection.
a) Write a user-defined function named reverse_array(x) which reverses the positions of
any input argument data array and output the results in the MATLAB Command Window.
(The function should work on any sized array; TAs will check with array of their choosing)
b) for loops and if conditional statements
i) Write a user-defined function named max_element(x) which determines the
maximum element in any input argument data array and output the results in MATLAB.
ii) Write a user-defined function named min_element(x) which determines the
minimum element in any input argument data array and output the results in the
MATLAB.
Posted Date: 1/17/2013 12:08:01 AM | Location : United States







Related Discussions:- matlab, Assignment Help, Ask Question on matlab, Get Answer, Expert's Help, matlab Discussions

Write discussion on matlab
Your posts are moderated
Related Questions
1 Explain the advantages and disadvantages of optical fiber versus copper Medium of communication 2 Define multiplexing. Explain TDM 3 Describe the protocol architecture and

Q. Show the Methods of material handling? Methods of material handling during operations and maintenance activities shall be considered for all facilities to ensure that the fi

Common-collector configuration:  The common-collector that is abbreviated CC transistor configuration is displayed in figure.  In this type of configuration, the collector is

CPI Compare Immediate Instruction The 8 bit  data  specified  in the  instruction is  compared with the  contents of the accumulator. The comparison  is done by  subtracting

Q. The voltage across a parallel combination of a 100- resistor and a 0.1-µF capacitor is 10 cos(5000t +30°) V. Determine the admittance of the parallel combination and find the c

Please can you explain the operation of a transistor in a Common Emitter Class A audio Amplifier?

it''s 3 assignments and each assignment have 7 questions so each assignment have 1 hour when I open it I have only 1 hour to finish it I can show him or her the practice question t

What is XMS? XMS: The memory system is splits in three major parts as: system area, XMS (extended memory system) and TPA (transient program area). The kind of microprocessor in

For the circuit of Fig 1a: (i) Using Ohm's Law , determine the equivalent resistance across the battery (ii)  determine the current through each resistor (iii) the arrang