Community Profile

photo

Stephen


Last seen: Today

USEUCOM

1.267 total contributions since 2019

Contact

Stephen's Badges

  • Leader
  • Speed Demon
  • Functions I Master
  • Draw Letters
  • ASEE Challenge Master
  • Matrix Patterns III Master
  • Magic Numbers II Master
  • Project Euler I
  • Cody5 Easy Master
  • Scholar
  • Tiles Challenge Master
  • Strings III Master
  • Indexing IV Master
  • Divisible by x Master
  • Matrix Patterns II Master

View all

Contributions in
View by

Solved


union without repitition
Let a = [9 9 9 9 9 9 8 8 8 8 7 7 7 6 6 6 5 5 4 2 1] b = [1 1 1 3 3 3 3 3 4 4 4 4 4 10 10 10] Output should be [9 8...

38 minuti ago

Solved


Create a Standard Size Vector
Given an input x, create a row vector y from 1 to x with 5 elements.

circa un'ora ago

Solved


edge detection
write a function that gives the indexes of rising or falling edge x is a vector (assume it contains always at least one eleme...

circa un'ora ago

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

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

13 giorni ago

Solved


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

13 giorni ago

Solved


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

13 giorni ago

Solved


Find out Harmonic mean.
Find out Harmonic mean.

13 giorni 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,...

13 giorni ago

Solved


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

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

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

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

13 giorni ago

Solved


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

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

13 giorni ago

Solved


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

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

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

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

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

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

16 giorni ago

Solved


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

16 giorni ago

Solved


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

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

16 giorni ago

Solved


Divide pi
Divide pi by x!

16 giorni ago

Solved


Multiply pi
Multiply pi with x!

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

16 giorni ago

Solved


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

16 giorni ago

Solved


Matrix for beginners
Multiply x and y elemwise.

16 giorni 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).

16 giorni ago

Load more