Solved


Alternative Dimensions
Given a multidimensional matrix, transform the matrix so the dimensions are in the order given by variable ord. For example, giv...

7 years ago

Solved


Repeat Vector Values an Arbitrary Number of Times
Given two vectors of the same size, repeat the values of the first vector the number of times given in a second vector. For exam...

7 years ago

Solved


Replace all odd numbers with NaN
Replace all odd numbers in the vector or matrix with NaN. For example, if x = [1 3 4 5 8 11]; then return y = [NaN Na...

7 years ago

Solved


sum
sum as rows

7 years ago

Solved


factorial
factorial

7 years ago

Solved


turn n times
turn the matrix n times (each time turn +pi/2 radian)

7 years ago

Solved


wipe out!
make all the elements in given x zero.

7 years ago

Solved


find the determinent
find the determinent of a vector

7 years ago

Solved


flip up and down
flip up and down the matrix

7 years ago

Solved


sum of vector
sum!!

7 years ago

Solved


true or false
if the matrix has a zero, return true. else, return false

7 years ago

Solved


Slope of the line passing through two points
Determine the slope of a line passing through the points a=[x1 y1] and b=[x2 y2].

7 years ago

Solved


Implement a bubble sort technique and output the number of swaps required
A bubble sort technique compares adjacent items and swaps them if they are in the wrong order. This is done recursively until al...

7 years ago

Solved


Create a square matrix with given conditions
Create a square matrix, M, which should be populated as follows: M = [ n^2 n * (n-1) n * (n-2) ... n * 2 n * ...

7 years ago

Solved


Change matrix to vector
Vector is a matrix whose size is 1 x n or n x 1. Change matrix to vector. x = 4 3 5 1 ...

7 years ago

Solved


Change matrix to vector2
From x = 4 3 5 1 5 1 To y = 4 3 5 1 ...

7 years ago

Solved


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

7 years ago

Solved


Make roundn function
Make roundn function using round. x=0.55555 y=function(x,1) y=1 y=function(x,2) y=0.6 y=function(x,3) ...

7 years ago

Solved


Analyze observation data
Suppose you have the following data (A,B,C) in three-column format. A B C -------------------------- t=1 ...

7 years ago

Solved


How Many Months Until It's Today Again?
Given a particular date, calculate how many months must pass before that same day of the month occurs on the same day of the wee...

7 years ago

Solved


Change input vector
If a input vector is [3, 2, 6, 1, 6], the output vector is [3, 2, 6, 1, 6] + [1, 2, 3, 4, 5] = [4, 4, 9, 5, 11].

7 years ago

Solved


make an eye matrix which element is 1:n
for a given input n, make an n by n matrix which contains elements 1:n for example input =5 output = [1 0 0 0 0;0 2 0 0 0; 0...

7 years ago

Solved


multiple 2
function y = your_fcn_name(x) y = 2*x; end

7 years ago

Solved


determine if
determine if the elements of a matrix is a nan and return true

7 years ago

Solved


basics -making a matrix
make a matrix which contains input x as the last element. the intervals should be +1 ex) input = 5 output= [0 1 2 3 4 5] ex)...

7 years ago

Solved


sum all the elements
sum all the elements in the matrix ex) x=[1 2 3 4; 5 6 7 8; 9 10 11 12] y=78

7 years ago

Solved


find the 'M'
for an input x, return 1 at the location of the letter 'M'

7 years ago

Solved


sum as columns
sum as columns.

7 years ago

Solved


find a number (cheat)
find a number input^5 = input the out put should be the number. try cheating

7 years ago

Solved


cheating technique2
there are some ways to get hints just by looking at the test suits to cheat. try.

7 years ago

Load more