A résolu


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

environ 2 ans il y a

A résolu


Flipping
Write code that can reverse the vector without using any sort of loop. Example Given the input vector A = [ 1 2 3 4 5...

environ 2 ans il y a

A résolu


Sum of the Matrix Elements
Add up all the elements in a NxM matrix where N signifies the number of the rows and M signifies the number of the columns. E...

environ 2 ans il y a

A résolu


Fahrenheit to Celsius converter
Convert Fahrenheit to Celsius degrees.

environ 2 ans il y a

A résolu


Volume of a box
Given a box with a length a, width b, and height c. Solve the volume of the box.

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


Laws of motion 3

environ 2 ans il y a

A résolu


Kinetic energy calculation

environ 2 ans il y a

A résolu


easy problem
Find the last element of the array

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


to the 2 all elements
to the 2 all elements

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


Create a Matrix of Zeros
Given an input x, create a square matrix y of zeros with x rows and x columns.

plus de 2 ans il y a

A résolu


The sum of the numbers in the vector
eg. [1,2,3]---->SUM=6

plus de 2 ans il y a

A résolu


Matlab Basics - Absolute Value
Write a script that returns the absolute value of the elements in x e.g. x = [-1 -2 -3 -4] --> y = [1 2 3 4]

plus de 2 ans il y a

A résolu


Do you like your boss?
Do you like your boss? Answer can be any string! For example: Boss = 'Do you like your boss?'; Output = 'yes' or ...

plus de 2 ans il y a

A résolu


Celsius to Fahrenheit converter
Convert Celsius to Fahrenheit degrees.

plus de 2 ans il y a

A résolu


Max of a Vector
Write a function to return the max of a vector

plus de 2 ans il y a

A résolu


Squaring Matrix
Square the following matrix using matlab % A = 1 2 3 4 5 6 7 8 So new matrix should display...

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


Celsius to Kelvin
Convert Celsius degrees to Kelvin temperature.

plus de 2 ans il y a

A résolu


Beginner's Problem - Squaring
Try out this test problem first. Given the variable x as your input, square it by two and put the result in y. Examples: ...

plus de 2 ans il y a

A résolu


Who is the smartest MATLAB programmer?
Who is the smartest MATLAB programmer? Examples: Input x = 'Is it Obama?' Output = 'Me!' Input x = 'Who ?' Ou...

plus de 2 ans il y a

A résolu


Square a Number
Given an input x, return y, which is equal to the square of x.

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.

plus de 2 ans il y a

Charger plus