Solved

Calculate correlation.

There are two data. y1=[0 1 2 3 4]' y2=[2 3 4 5 6]' We can see positive relationship between y1 and y2. The relations...

4 years ago

Solved

Make sorting matrix without sort function.

It is very valuable for student to simple sorting program because they learn about use of loop and if-statement. Sort given inpu...

4 years ago

Solved

Calculate RMSE

RMSE(Root Mean Square Error) is widely used to calculate error. Calculate RMSE between [a] and [b] a=[1 2 3 4] b=[0 1 2 ...

4 years ago

Solved

Check given number is odd or even

Using input [x], check given number is odd or even if x is odd, output should be true.

4 years ago

Solved

Analyze observation data

There are results of observation. A B C -------------------------- t=1 2.2 2.6 2.4 t=2 2.4 ...

4 years ago

Solved

Calculate representive values (max. min. std)

A B C -------------------------- t=1 2.2 2.6 2.4 t=2 2.4 2.8 2.2 t=3 2.6 2.7 2....

4 years ago

Solved

Extract area

There are observed data c and its location (x,y) x=1:0.1:10 y=1:0.1:10 % x and y are used as inputs [X,Y]=mesh...

4 years ago

Solved

Make random permutation

Make random permutation that consist of random number from 1 to n.

4 years ago

Solved

Calculate cross product

Make function for cross product a=[1 3 2]; b=[2 4 1]; y=function(a,b) y=[-5 3 -2]

4 years ago

Solved

Free passes for everyone!

THIS PROBLEM IS TEMPORALLY DECOMMISSIONED WHILE IT IS UPDATED. PLEASE WAIT _Simply return the name of the coolest numerical c...

4 years ago

Solved

Freebies anyone? No!!!!

Feel free to copy paste all the tests and voila you solved the problem

4 years ago

Solved

Calculate BMI

BMI = (weight_in_lbs * 703) / (height_in_inches^2) Inputs are in kg and cm

4 years ago

Solved

Given X and Y, Get the Displacement Travelled

Given startX, start Y, endX and endY Get the displacement travelled %x = [startX endX] %y = [startY endY] x = [0 3]; y = [0...

4 years ago

Solved

This is just like your weight :)

Imagine your weight as a sawtooth wave appended with a slope It varies yet the trend is increasing :) Decode the values throug...

4 years ago

Solved

Add Me To Death (Sum sum sum)

Given certain vector, sum of the input vector, get the sum of 2 adjacent numbers in the input, and sum of the output vector (wh...

4 years ago

Solved

Annoying population

Every year the number of annoying persons in the office triples Found the population, given a(0) and t

4 years ago

Solved

Exponential Growth and Decay

Calculus time!! Find dx/dy or (k) Given y(0), y(t) and t

4 years ago

Solved

Clipper Function

Create a function that emulates a clipper circuit Given sin wave, t and the constant value for clipping, and the direction to re...

4 years ago

Solved

Half wave rectifier

Create a function that emulates a half wave rectifier. Use a sine wave

4 years ago

Solved

Clamper Function

Create a function that emulates a clamper circuit Given sin wave, t and the constant value for clamping

4 years ago

Solved

Full Wave rectifier

Create a function that emulates a full wave rectifier. Use a sine wave

4 years ago

Solved

Get 1-4-3-4-4

Get the value of the indices in the title and assign it to an array

4 years ago

Solved

Sum of the squares of optimus

Get the sum of the squares of primes given limit input x Ex. x = 10, output = 2^2 + 3^2 + 5^2 + 7^2

4 years ago

Solved

Square of the sum of optimus

Get the square of the sum of all primes given the limit input x

4 years ago

Solved

Who knows the last digit of pi?

There is only one man who knows the last digit of pi, who is that man? Give the name of that man, who, by popular believe, can ...

4 years ago

Solved

Distance walked 3D

suppose you go from x-y-z coordinates [3,4,2] to [0,0,2] to [0,1,2] to [1,1,2], to [1,1,20] then you walked 25 units of distance...

4 years ago

Solved

Marvel or DC?

Given input vector determine if there's a DC value. If there is, output 'DC', else output 'MARVEL'

4 years ago

Solved

Rotate matrix by -90 degrees

Rotate a Matrix by -90 degrees Example: X = 1 2 3 4 5 6 7 8 9 output = 7 4 ...

4 years ago