Beginning with the row number passed

Assignment Help MATLAB Programming
Reference no: EM13165965

Write a MATLAB function that takes a matrix, a row number and a column number. Beginning with the row number passed to the function, scan down the column passed to the function and return the row number that contains the largest absolute value in the column. Use the absolute value function you created in the previous homework. For example if your matrix is:

1 9 4 5

11-2 3 0

0 -6 5 4

3 5 7 -3

*And you pass row 2, column 2, the function should return 3. Row 3 has the largest absolute value in column 2 including and below row 2.

Reference no: EM13165965

Questions Cloud

What mass of calcium oxide is required daily : If the coal is burned in a power plant that uses 1800 tons of coal per day, what mass of calcium oxide is required daily to eliminate the sulfur dioxide?
Add a copy constructor : Take the code below and add a copy constructor, assignment operator definition and destructor to the class. These functions have already been started for you.
State polyethylene is a polymer consisting of only carbon : Polyethylene is a polymer consisting of only carbon and hydrogen. If 2.300 g of the polymer is burned in oxygen it produces
How much heat is required to vaporize : the heat of vaporization of benzene, C6H6, is 30.8kJ/mol at its boiling point of 80.1C. How much heat is required to vaporize 102g benzene at its boiling point?
Beginning with the row number passed : Write a MATLAB function that takes a matrix, a row number and a column number. Beginning with the row number passed to the function, scan down the column passed to the function and return the row number that contains the largest absolute value in ..
State calibrate ion-selective electrodes : You will need two series of standard solutions to calibrate your ion-selective electrodes - one series for sodium and one for calcium.
What mass of calcium oxide is required daily to eliminate : If the coal is burned in a power plant that uses 1900 tons of coal per day, what mass of calcium oxide is required daily to eliminate the sulfur dioxide?
Write a matlab function that takes a matrix : Write a MATLAB function that takes a matrix, a row number and a column number. Beginning with the row number passed to the function, scan down the column passed to the function and return the row number that contains the largest absolute value in ..
Ethical dilemma and be sure to respond to all parts : Respond to the following ethical dilemma and be sure to respond to all parts. You are on a ship and nearby are two sandbars with groups or individuals waiting to be rescued. You can only rescue one of each in the following scenarios.

Reviews

Write a Review

MATLAB Programming Questions & Answers

  Design simple interface hardware

Evaluate the capability in selecting and configuring a microcontroller unit designing simple interface hardware and writing subroutines to operate those interfaces

  Fourier transform and biosignal analysis

Fourier Transform and Biosignal Analysis - series data into its frequency components for the purpose of signal analysis and processing.

  Mobile robot control and potential field

Write a MATLAB code to compute forces due to each obstacle and goal. Compute total force on vehicle at point(x,y).

  Modify the functions for the bisection and false-position

Modify the functions for the bisection and false-position techniques of finding a root of an equation (see below questions) so that the number of iterations can be determined and displayed. (The count should only be displayed after the loop is com..

  First ten numbers of the sequence of pseudorandom numbers

write a program that gives the first ten numbers of the sequence of pseudorandom numbers

  Realistic animations include more

Realistic animations include more than just translations of shapes. They also have scaling involved. For this question, you're asked to write a function called "problem4" that accepts a single input variable and applies a scaling constant of 3. Th..

  write a function under the name "write2"

a)Write a function under the name "write2" so that it will save the diagonal component of the given matrix...

  Cell array named carray that will hold numbers and text

In MATLAB, write a program to create a cell array named CArray that will hold numbers and text. Create a loop that first asks for an 'n' to be entered for a number or an 's' to be entered for a text string. If neither an n nor an s is entered, end..

  Create an animation of a square

create an animation of a square according to the directions below. Create a square with a side length of 3 with the square centered at (5,5). Translate this square along a cosine wave on the interval [0, 6*pi].

  Simulate rigid body mechanics

Write a MATLAB code to simulate rigid body mechanics. Create a video file of a free falling rod. Neglect effects from drag or loss of kinetic energy. Make sure the rod falls onto one end showing how the rigid body reacts to hitting the ground. Cannot..

  Write a function in matlab

write a function in MATLAB

  Calculate and plot the error in the numerical derivative

Write a program to calculate and plot the error in the numerical estimate of the derivative.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd