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


MATLAB Basic: rounding IV
Do rounding towards plus infinity. Example: -8.8, answer -8 +8.1 answer 9 +8.50 answer 9

2 years ago

Solved


MATLAB Basic: rounding III
Do rounding towards minus infinity. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 8

2 years ago

Solved


MATLAB Basic: rounding II
Do rounding nearest integer. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 9

2 years ago

Solved


MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8

2 years ago

Solved


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

2 years ago

Solved


Convert from Fahrenheit to Celsius
Given an input vector F containing temperature values in Fahrenheit, return an output vector C that contains the values in Celsi...

2 years ago

Solved


Fahrenheit to Celsius converter
Convert Fahrenheit to Celsius degrees.

2 years ago

Solved


Try 1.5.4: Celsius to Fahrenheit
Write a program to convert an input given in Celsius to Fahrenheit. Examples: Input celsiusValue = 100 Output fahrValu...

2 years ago

Solved


Celsius to Fahrenheit converter
Convert Celsius to Fahrenheit degrees.

2 years ago

Solved


Convert yards to feet
The goal of this script is to convert a value given in yards to feet.

2 years ago

Solved


Circle : Square

2 years ago

Solved


Volume of Cylinder
Find the volume of a cylinder

2 years ago

Solved


Area of square
Find the area of a square whose diagonal length is given as x.

2 years ago

Solved


Sum of Squares
Given a vector v of length n, write a MATLAB function to calculate the sum of the squares of its elements.

2 years ago

Solved


square root
Find the square root (y) of an input (x).

2 years ago

Solved


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

2 years ago

Solved


Square root of a number
Write a code that will output the square root of x.

2 years ago

Solved


Square root of number
Square root of given number.

2 years ago

Solved


Square
square root of x

2 years ago

Solved


square root
Find square root of given number

2 years ago

Solved


Determine the square root
Determine the square root of the value the user has entered, n.

2 years ago

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

2 years ago

Solved


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

2 years ago

Solved


Magic is simple (for beginners)
Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.

2 years ago

Solved


Make a random, non-repeating vector.
This is a basic MATLAB operation. It is for instructional purposes. --- If you want to get a random permutation of integer...

2 years ago

Solved


Roll the Dice!
*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...

2 years ago

Solved


Number of 1s in a binary string
Find the number of 1s in the given binary string. Example. If the input string is '1100101', the output is 4. If the input stri...

2 years ago

Solved


Return the first and last characters of a character array
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...

2 years ago

Load more