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
Q. Explain Wireless electromagnetic channels? Wireless electromagnetic channels are used in wireless communication systems, in which the electromagnetic energy is coupled to th

Digital Electronics: We have study the fundamentals of Digital circuits. Primary we have studied the mathematics of Binary numbers also called as Boolean algebra and how to im

Explain the Synchronous Up-Down Counters? The circuit of a 3-bit synchronous up-down counter and a table of its sequence are shown below.  Alike to an asynchronous up-down count

a. With neat circuit diagram and frequency response curve define the two stages RC coupled amplifier. What are its benefits and applications? b. Sketch ideal and the actual resp

A universal shift register can shift in both the left-to-right and right-to-left directions, and it has parallel-load capability. Draw a circuit for such a shift register.

how to construct universal shift register using D-flipflop and mux??

how to calculate the sending line voltage

Q. How can a JFET be used as a constant current source? Explain from the drain characteristics. As the VDS voltage is increased from 0 to a few volts, the current will increase

kindly send us the formula and C program for performance improvement of distribution system using HV/LV ratio. REGARDS ANUJ AGARWALA

Compare with Register The contents  of the register  are compared with  the contents  of the accumulator  here  register  may be  any one  of the  A, B, C, D E, H, or L  reg