Solved


Square the input
Given a scalar or vector x, return the square of each element. Example x = [7 2] answer = [49 4]

2 years ago

Solved


square of a number
find square of a given number

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

2 years ago

Solved


Check that number is whole number
Check that number is whole number Say x=15, then answer is 1. x=15.2 , then answer is 0. http://en.wikipedia.org/wiki/Whole_numb...

2 years ago

Solved


Create a vector
Create a vector from 0 to n by intervals of 2.

2 years ago

Solved


F.R.I.E.N.D.S

2 years ago

Solved


Bruh
Return 'bruh'.

2 years ago

Solved


free points
function y = your_fcn_name(x) y = x(1)+x(2); end

2 years ago

Solved


Add two numbers
Add two numbers (For beginners)

2 years ago

Solved


Freebies anyone? No!!!!
Feel free to copy paste all the tests and voila you solved the problem

2 years ago

Solved


print 'Hello W0rld'

2 years ago

Solved


Check if number exists in vector
Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...

2 years ago

Solved


Find max
Find the maximum value of a given vector or matrix.

2 years ago

Solved


Simple equation: Annual salary
Given an hourly wage, compute an annual salary

2 years ago

Solved


Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

2 years ago

Solved


Matlab Basics - Rounding III
Write a script to round a large number to the nearest 10,000 e.g. x = 12,358,466,243 --> y = 12,358,470,000

2 years ago

Solved


Say something funny
Say something funny, or not. Your solution will be (fully automatically and objectively) scored based on how clever or funny ...

2 years ago

Solved


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

2 years ago

Solved


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

2 years ago

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

2 years ago

Solved


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; ...

2 years ago

Solved


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

2 years ago

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

2 years ago

Solved


Convert radians to degrees
Given input in radians, output to degrees

2 years ago

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

2 years ago

Solved


Getting the indices from a vector
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to <http://www.mathworks....

2 years ago

Solved


Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

2 years ago

Solved


World Cup 2018 Prediction!
Which team will be the winner?

2 years ago

Solved


Calculate the area of a circle
Given a circle of diameter x calculate its area

2 years ago

Solved


factorial
calculate x!

2 years ago

Load more