Community Profile

# Stephen

### USEUCOM

1,264 total contributions since 2019

#### Stephen's Badges

View all

Contributions in
View by

Solved

Decide whether determinant is zero.
Given a 3 x 3 matrix, find the determinant. Let y = true if the determinant is zero, and let y = false if the determinant is no...

11 days ago

Solved

Equidistant numbers containing certain value in an interval
Given a lower and upper bound of an interval, distance between numbers, and one particular number from that interval, create an ...

11 days ago

Solved

Accessing elements on the diagonal
Access the diagonal elements of a matrix without 'diag' function

11 days ago

Solved

Square wave average calculation
Given its peak and duty cycle, calculate avg value of square wave

11 days ago

Solved

Find out Harmonic mean.
Find out Harmonic mean.

11 days ago

Solved

Function composition - harder
Write a function that accepts an arbitrary number of function handles f_1, f_2, ..., f_n and returns the composition h. That is,...

11 days ago

Solved

Create a square matrix of zeros of even order
Create a square matrix of zeros of even order

11 days ago

Solved

Print true if
all elements are larger than 5 a=[1 3 5 8 6]; b=[6 6 6 6 6]; function(a) should be false, and function(b) will be tru...

11 days ago

Solved

Reshape a Vector
Write a function that accept three inputs. The first one is a row vector S. The second and third arguments are m and n which de...

11 days ago

Solved

Find maximum value of a curve
Two vectors shall be already defined: - Input vector x (e.g. x = 0:1:10) - Result vector y (e.g. y = sin(x)) Create a n...

11 days ago

Solved

Figurate number triangle
Check whether the input matrix is a figurate number triangle: <http://mathworld.wolfram.com/FigurateNumberTriangle.html>

11 days ago

Solved

Subtract two positive numbers
Given a and b as a string, return b-a without using string to number conversion functions. a and b must to be a same size and b ...

11 days ago

Solved

Create Vector containing following elements
Create Vector containing following elements A=[pi eps NaN inf -inf flintmax];

11 days ago

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

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

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

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

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

14 days ago

Solved

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

14 days ago

Solved

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

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

14 days ago

Solved

Divide pi
Divide pi by x!

14 days ago

Solved

Multiply pi
Multiply pi with x!

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

14 days ago

Solved

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

14 days ago

Solved

Matrix for beginners
Multiply x and y elemwise.

14 days 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).

14 days 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

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

14 days 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]

14 days ago

Load more