Resuelto


Laws of motion 1

más de 2 años hace

Resuelto


radius of a spherical planet
You just measured its surface area, that is the input.

más de 2 años hace

Resuelto


Divide by 4
Given the variable x as your input, divide it by four and put the result in y.

más de 2 años hace

Resuelto


Add two numbers
Calculate the sum of two numbers. Example input = [2 3] output = 5

más de 2 años hace

Resuelto


The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

más de 2 años hace

Resuelto


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

más de 2 años hace

Resuelto


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

más de 2 años hace

Resuelto


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

más de 2 años hace

Resuelto


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

más de 2 años hace

Resuelto


Return part of an array
Given a 5x5 array, return a 3x3 array that contains the cells that are not on the edge of the array: Given this array Return...

más de 2 años hace

Resuelto


02 - Vector Variables 2
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_2b.png>>

más de 2 años hace

Resuelto


Array of Ones
Create a 100 X 100 array of ones.

más de 2 años hace

Resuelto


Converts numbers into characters
Converts numbers into characters

más de 2 años hace

Resuelto


Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

más de 2 años hace

Resuelto


Find the max element of the array
Find the max element of the array

más de 2 años hace

Resuelto


to the 2 all elements
to the 2 all elements

más de 2 años hace

Resuelto


calculate the length of matrix
input 1 array, calculate the length

más de 2 años hace

Resuelto


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

más de 2 años hace

Resuelto


Double all elements in the array
Duplicate all elements in the array

más de 2 años hace

Resuelto


the average value of the elements
Calculate the average value of the elements in the array

más de 2 años hace

Resuelto


Find the maximum number of decimal places in a set of numbers
Given a vector or matrix of values, calculate the maximum number of decimal places within the input. Trailing zeros do not count...

más de 2 años hace

Resuelto


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

más de 2 años hace

Resuelto


Rounding off numbers to n decimals
Inspired by a mistake in one of the problems I created, I created this problem where you have to round off a floating point numb...

más de 2 años hace

Resuelto


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

más de 2 años hace

Resuelto


Convert Two Character String into a Binary Vector
Given a string "XOXXO" convert it into a binary vector. [1 0 1 1 0] Paul Berglund implemented an optimal method in <http://ww...

más de 2 años hace

Resuelto


Inner product of two vectors
Find the inner product of two vectors.

más de 2 años hace

Resuelto


Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

más de 2 años hace

Resuelto


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

más de 2 años hace

Resuelto


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

más de 2 años hace

Resuelto


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

más de 2 años hace

Cargar más