Resuelto


convert matrix to single column
given any matrix, convert it to single column

casi 13 años hace

Resuelto


How many jokers?
* Given DNA codes of a group of suspects, * and a code for certain types of jokers, * Count how many jokers of that type. * ...

alrededor de 13 años hace

Resuelto


Circle area using pi
Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.

alrededor de 13 años hace

Resuelto


Lightning strike distance: Writing a function
Write a function named LightningDistance that outputs "distance" given input "seconds". Seconds is the time from seeing lightnin...

alrededor de 13 años hace

Resuelto


Create a row array using double colon operator
Create a row array from 9 to 1, using the double colon operator.

alrededor de 13 años hace

Resuelto


Multielement indexing of a row array
The row array birthRateChina stores the China birth rate (per 1000 people) for years 2000 to 2012. Write a statement that create...

alrededor de 13 años hace

Resuelto


ABBREVIATION
Abbreviate the given string. Consider Only Capital Letters. EXAMPLE If input is 'Abbreviation of The Given String' then ou...

alrededor de 13 años hace

Resuelto


Temperature conversion
Convert temperature in degrees Celsius (C) to temperature in degrees Kelvin (K). Assume your answer is rounded to the nearest Ke...

alrededor de 13 años hace

Resuelto


What percentage?
Calculate the output c as the percentage of a on b for given a and b.

alrededor de 13 años hace

Resuelto


TOUGHEST PROBLEM EVER?????????????
Need Only Response!!!!!!!!!!!!!!!!!

alrededor de 13 años hace

Resuelto


Find the minimum element of the matrix
Example: If x = [3 9; 5 2] then y = 2

alrededor de 13 años hace

Resuelto


find the maximum element of the matrix
for e.g x = [1 2; 3 4] y = 4

alrededor de 13 años hace

Resuelto


Number of digits in an integer
Specifies how many digits in a given integer. Example: in=100 ==> out=3

alrededor de 13 años hace

Resuelto


Mode
Find the mode of the vector Assumption: no vector is bimodal Example 1: input=[1 2 3 4 4]; output=4 Example 2: input=[7...

alrededor de 13 años hace

Resuelto


Dots in a Circle
Return how many integer grid points there are inside a circle of radius _r_ centred at (0,0) (including points on the edge). ...

alrededor de 13 años hace

Resuelto


Basics: Divide integers to get integer outputs in all cases
Divide integers a and b in such a way that output y is always an integer (in ceil manner)

alrededor de 13 años hace

Resuelto


Is it an Armstrong number?
An Armstrong number of three digits is an integer such that the sum of the cubes of its digits is equal to the number itself. Fo...

alrededor de 13 años hace

Resuelto


MATCH THE STRINGS (2 CHAR) very easy
Match the given string based on first two characters on each string. For example A='harsa'; b='harish'; result '1' ...

más de 13 años hace

Resuelto


Fahrenheit to Celsius converter
Convert Fahrenheit to Celsius degrees.

más de 13 años hace

Resuelto


Celcius to Kelvin
Convert Celsius degrees to Kelvin temperature.

más de 13 años hace

Resuelto


kmph to mps
convert kilometer per hour to meter per second

más de 13 años hace

Resuelto


Celsius to Fahrenheit converter
Convert Celsius to Fahrenheit degrees.

más de 13 años hace

Resuelto


Basic arrays operations.
Apply element-by-element binary operation 'fun' to two arrays (A and B).

más de 13 años hace

Resuelto


Derivative of polynomial
Compute the derivative of a given polynomial. The input is an <http://www.mathworks.com/help/matlab/math/representing-polynomial...

más de 13 años hace

Resuelto


Find the logic
There exists one logic in between input and output. Find it (easy math). Example 1: x=13 then y=339; Example 2: x=26...

más de 13 años hace

Resuelto


Moving average (variable kernel length)
Find the moving average in a vector. The kernel length is a variable. For example x = 1:10 kernel_length = 2 would r...

más de 13 años hace

Resuelto


Binary Coder
Take an input number and print the binary value of this number.

más de 13 años hace

Resuelto


Given a 4x4 matrix, swap the two middle columns
If a = [1 2 3 4; 1 2 3 4; 1 2 3 4; 1 2 3 4]; then the result is ans = 1 3 2 4 1 3 2...

más de 13 años hace

Resuelto


Sunday bonus
Submit a solution on any Sunday and you will get 10 points. Only for MATLAB fans!

más de 13 años hace

Resuelto


Creation of 2D Sinc Surface
This Challenge is to efficiently create the Sombrero function of various sizes, resolutions, and frequencies. <<https://sites...

más de 13 años hace

Cargar más