Create a figure and plot data
Given two data vectors (x,y), open a new figure and plot the data. Return the figure handle.
2 years ago
Solved
Matrix multiplication across rows
Given matrix m, return matrix n such that, rows of n are result of multiplication of the rows of the input matrix
Example
...
2 years ago
Solved
frame of the matrix
Given the matrix M, return M without the external frame.
2 years ago
Solved
Replace Nonzero Numbers with 1
Given the matrix x, return the matrix y with non zero elements replaced with 1.
Example:
Input x = [ 1 2 0 0 0
...
How many Fibonacci numbers?
Find the number of unique Fibonacci numbers (don't count repeats) in a vector of positive integers.
Example:
x = [1 2 3 4...
2 years ago
Solved
Pangrams!
A pangram, or holoalphabetic sentence, is a sentence using every letter of the alphabet at least once.
Example:
Input s ...
2 years ago
Solved
Velocity Conversion
Given a velocity in mph, convert it to km/h. Round the answer to the fourth decimal place.
2 years ago
Solved
Find common elements in matrix rows
Given a matrix, find all elements that exist in every row.
For example, given
A =
1 2 3 5
9 2 5 9
3 2 5 9
...