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. ...

alrededor de 2 años 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 ...

alrededor de 2 años 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...

alrededor de 2 años 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.

alrededor de 2 años 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...

alrededor de 2 años ago

Solved

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

alrededor de 2 años ago

Solved

Square
X is a number, write a code, where Y should be the square of X.

alrededor de 2 años 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...

alrededor de 2 años ago

Solved

Divide pi
Divide pi by x!

alrededor de 2 años ago

Solved

Multiply pi
Multiply pi with x!

alrededor de 2 años 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...

alrededor de 2 años ago

Solved

Matrix problem for beginners
Make a matrix [0,0,0;1,1,1;2,2,2]. X=[0,1,2]

alrededor de 2 años ago

Solved

Matrix for beginners
Multiply x and y elemwise.

alrededor de 2 años 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).

alrededor de 2 años 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

alrededor de 2 años 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...

alrededor de 2 años 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]

alrededor de 2 años ago

Solved

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

alrededor de 2 años 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...

alrededor de 2 años 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...

alrededor de 2 años 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...

alrededor de 2 años 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 ...

alrededor de 2 años ago

Solved

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

alrededor de 2 años 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 ]

alrededor de 2 años 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 ...

alrededor de 2 años ago

Solved

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

alrededor de 2 años ago

Solved

ascii value
let input='a' output=97

alrededor de 2 años 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

alrededor de 2 años 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...

alrededor de 2 años ago

Solved

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

alrededor de 2 años ago