Solved

UICBioE240 problem 1.8

Given a list of grades in a class, write a script that gives the 2nd highest grade in the class and the average for the class. ...

10 månader ago

Solved

UICBioE240 problem 1.10

Find the number of cells in a bioreactor after a given time when doubling time is dd and initial number of cells is x. So if ...

10 månader ago

Solved

Ordered pairs of integers (I, J).

Write a MATLAB function that calculates the number of ordered pairs of integers (I, J) that can be formed satisfying the conditi...

10 månader ago

Solved

Four digit number ABCD reversal

write a MATLAB function to find the four-digit number ABCD when multiplied by 4 returns DCBA. The function takes an input x=4.

10 månader ago

Solved

Basic Operation with the middle number of odd matrix

# Take an odd matrix *like* 3-by-3 # Access the *middle element* of the matrix i.e in case of 3-by-3 matrix the index of the pa...

10 månader ago

Solved

Square root

Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

10 månader ago

Solved

AK Sorting according to given order

Conventional ascending order of one digit number is [ 0, 1, 2, ......9]. Now this order is changed and stored in vector a. For e...

10 månader ago

Solved

List the households affected by leaks in water distribution

Consider the following water distribution network, where water is pumped uni-directionally from left to right: 8...

10 månader ago

Solved

Number of problems

No, you don't read it wrong: this assignment is to return the number of this problem (and not the problem of this number).

10 månader ago

Solved

Matlab Basics II - Determine if an array has a 3rd dimension

For an array A, determine whether it has 3 dimensions, return 0 if x is only 2D, and 1 if x is 3D

10 månader ago

Solved

Matrix rotation as per given angle

Given a user defined matrix and angle of rotation, rotate the elements of output matrix as clockwise or anti-clockwise. Angle wi...

10 månader ago

Solved

Union of two set decreasing order

Union of two set decreasing order Say, x=[1 2 5] and y=[5 7 8] then answer must be [8 7 5 2 1]

10 månader ago

Solved

Test if a matrix is symmetric

Write a logical function that returns 1 if the input matrix is symmetric and 0 otherwise.

10 månader ago

Solved

Set defaults

Write a function that computes the volume of a cube. The function should be able to accept three inputs: the length, width, and...

10 månader ago

Solved

"Find out the best cricket"

This is how I originally read Problem 2013, so let's just go with it. Give me the first and last name of the best cricket, rega...

10 månader ago

Solved

Great Circle Distance

Find shortest between two points on a ball given their azimuthal and polar angles (in degrees) as well as the radius of the sphe...

10 månader ago

Solved

Replace all zeros and NaNs in a matrix with the string 'error'

Given a numeric input matrix A, possibly containing some zero values and some NaNs, replace any occurrences of zero or NaN with ...

10 månader ago

Solved

Array GCD

* Find Greatest Common Divisor in a given array * Function Template: function ans = arraygcd(a) % a=[45 15 200 ...

10 månader ago

Solved

Rotate array 90 degrees

Rotate the given matrix by 90 degrees. Example, A = [1 2 3 ; 4 5 6 ] B = rotated(A) = [ 3 6; 2 5; 1 4 ]

10 månader ago

Solved

Test

Answer the question and the correct answer write in vector. Only one answer is correct. 1a Yes 1b No 1c No 1d No ...

10 månader ago

Solved

A quadrant matrix

Write a function called quadrants that takes as its input argument a scalar integer named n. The function returns Q, a 2n-by-2n ...

10 månader ago

Solved

Gamma Function

Evaluate the <http://en.wikipedia.org/wiki/Gamma_function/ Gamma Function>. Gamma_val(0) = Inf Gamma_val(1.2) = 0.9182

10 månader ago

Solved

COUNT VOWEL

Count, how many times vowels occurred. EXAMPLE: x='string the MaTLaBiAn' then the answer will be 6. x='coUnt the vowEl' th...

10 månader ago

Solved

How to calculate log?

There is a log that have base 5. How to calculate? log5(x)?

10 månader ago