A résolu


Perimeters/Circumference
Given an array. Determine whether the perimeter is of a circle, triangle or square. Then calculate the perimeter.

plus de 5 ans il y a

A résolu


Where is she?
Given the numbers 12, 3, 6, 9 Tell where the girl is located. That is: Look to your 3 o'clock = look right Example ...

plus de 5 ans il y a

A résolu


Kinetic Energy
Given the mass m and velocity v of an object, determine its <http://en.wikipedia.org/wiki/Kinetic_energy kinetic energy>.

plus de 5 ans il y a

A résolu


Remove and Sort
Given a randomized array n, sort it and remove all odd integers. n=5 y = [2 4]

plus de 5 ans il y a

A résolu


Remove the Zero
Given an array n, remove all zeros

plus de 5 ans il y a

A résolu


Pascal's Triangle
Given an integer n >= 0, generate the length n+1 row vector representing the n-th row of <http://en.wikipedia.org/wiki/Pascals_t...

plus de 5 ans il y a

A résolu


Find state names that start with the letter N
Given a list of US states, remove all the states that start with the letter N. If s1 = 'Alabama Montana Nebraska Vermont Ne...

plus de 5 ans il y a

A résolu


Elapsed Time
Given two date strings d1 and d2 of the form yyyy/mm/dd HH:MM:SS (assume hours HH is in 24 hour mode), determine how much time, ...

plus de 5 ans il y a

A résolu


Remove all the consonants
Remove all the consonants in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill'; Output s2 is 'a ...

plus de 5 ans il y a

A résolu


Vector with a repeated entry
Create a row vector of length n, filled with 4's. For example, if n = 3, output = [4 4 4] Hint: Search for the function...

plus de 5 ans il y a

A résolu


If you have matrix A, create matrix B using matrix A as an "element"
A = [1 2 3 4; 5 6 7 8] B = [1 2 3 4 1 2 3 4; 5 6 ...

plus de 5 ans il y a

A résolu


Annual Salary
What is the annual salary of Mr. Cody if he works 40 hours a week and gets $x per hour and a yearly bonus of $2000? (Let, 50 wee...

plus de 5 ans il y a

A résolu


Unit conversion
Convert x degree Celsius to y degree Fahrenheit.

plus de 5 ans il y a

A résolu


Write a code that will follow the equation y = x * (x + x) * x.
If x = 5, y = 5 * (5+5) * 5 = 250

plus de 5 ans il y a

A résolu


Corresponding letter to ASCII code.
Given the letter, the output will show the corresponding ASCII code.

plus de 5 ans il y a

A résolu


Log of a number
Write a script that will give the log of x as output.

plus de 5 ans il y a

A résolu


ASCII code of a leter.
Given the letter, the output will show the corresponding ASCII code.

plus de 5 ans il y a

A résolu


ASCII Code
Using matlab, give the symbol that is associated with ASCii code 90.

plus de 5 ans il y a

A résolu


Remnant

plus de 5 ans il y a

A résolu


Swap rows

plus de 5 ans il y a

A résolu


Swap

plus de 5 ans il y a

A résolu


Column Removal (★★★)
(copy of prob 7) Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2...

plus de 5 ans il y a

A résolu


Average of corner elements of a matrix (★★)
(copy of prob 2235) Calculate the average of corner elements of a matrix. e.g. x=[1 2 3; 4 5 6; 7 8 9;] avg = (1+3+7+9)...

plus de 5 ans il y a

A résolu


How to locate the position of an element in a vector without using the find function
(copy of prob 105 with test for find function) Write a function posX = *locatePos* (x,y) which returns the location o...

plus de 5 ans il y a

A résolu


Element-wise vector product (★)
Given two vectors x and y, compute their element-wise product z. Thus, if x = [1 3 5] and y = [0.5 -1 2], then z = [1*0.5...

plus de 5 ans il y a

A résolu


Insert zeros II

plus de 5 ans il y a

A résolu


Diagonal Prod

plus de 5 ans il y a

A résolu


Insert zeros

plus de 5 ans il y a

A résolu


PIN code II

plus de 5 ans il y a

Charger plus