**Statistics**

RANK**478**

of 281.689

REPUTATION**150**

CONTRIBUTIONS

**1** Question

**91** Answers

ANSWER ACCEPTANCE **
100.0%
**

VOTES RECEIVED**14**

RANK**16.211** of 19.057

REPUTATION**4**

AVERAGE RATING**0.00**

CONTRIBUTIONS**8** Files

DOWNLOADS **24**

ALL TIME DOWNLOADS**40**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Solved

Is the paranthesis sequence balanced ?

Quantum mechanics and computer science are interested in bra-kets. Today however you, the player, will have to write a function ...

25 dagen ago

Solved

Morse Code Generator! Try it!

.... . .-.. .-.. --- . ...- . .-. -.-- --- -. . -.-.-- .-.. . - ... -.. --- ... --- -- . -- --...

25 dagen ago

Solved

Sum of series I

What is the sum of the following sequence: Σ(2k-1) for k=1...n for different n?

28 dagen ago

Solved

Alternately upper-lower case

Modify the string to alternate between upper and lower case. For example, s='achyuta' output='AcHyUtA' Update - Test case...

ongeveer een maand ago

Solved

Eliminate Polysyllabics: Long live short words!

Given a string s1, return s2 in which all the words with more than one syllable have been removed. To make things simple, we ...

ongeveer een maand ago

Solved

Calculate the Number of Sign Changes in a Row Vector (No Element Is Zero)

For a row vector: V=[7 1 2 -3] there is one sign change (from 2 to -3). So, the function you write must return N=1. F...

ongeveer een maand ago

Solved

Symmetry of vector

Determine whether the vector is symmetric or not (vector could be even or odd in length). For example: x = [1 2 3 3 2 1] is s...

ongeveer een maand ago

Solved

Longest run of consecutive numbers

Given a vector a, find the number(s) that is/are repeated consecutively most often. For example, if you have a = [1 2 2 2 1 ...

ongeveer een maand ago

Solved

When Was That Goal Scored?

We want to find out when the goals were scored in a particular soccer game. For each game, we are given a "Goal Event Data" XML ...

ongeveer een maand ago

Solved

Chess probability

The difference in the ratings between two players serves as a predictor of the outcome of a match (the <http://en.wikipedia.org/...

ongeveer een maand ago

Solved

Rescale Scores

Each column (except last) of matrix X contains students' scores in a course assignment or a test. The last column has a weighted...

ongeveer een maand ago

Solved

Calculate BMI

Given a matrix hw (height and weight) with two columns, calculate BMI using these formulas: 1 kilogram = 2.2 pounds 1 inch = 2...

ongeveer een maand ago

Solved

Binary code (array)

Write a function which calculates the binary code of a number 'n' and gives the result as an array(vector). Example: Inpu...

ongeveer een maand ago

Solved

Height of a right-angled triangle

Given numbers a, b and c, find the height of the right angled triangle with sides a and b and hypotenuse c, for the base c. If a...

ongeveer een maand ago

Solved

Natural numbers in string form

Create a cell array of strings containing the first n natural numbers. _Slightly_ harder than it seems like it should be. Ex...

ongeveer 2 maanden ago

Solved

radius of a spherical planet

You just measured its surface area, that is the input.

ongeveer 2 maanden ago

Solved

Calculate area of sector

A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...

ongeveer 2 maanden ago

Solved

Possible Rugby Scores

Given a natural number s (> 4), representing a rugby team's score, return an n-by-3 matrix representing all n possible combinati...

ongeveer 2 maanden ago

Solved

Split Even Number Into Two Primes

Given an even whole number n (> 2), return a 2-element vector of primes, p, such that p(1) + p(2) = n. Fun note: technically it...

ongeveer 2 maanden ago

Solved

Determine if Input is Oddish or Evenish (Odd/Even Sum of Digits)

Given a positive integer n, determine whether n is "oddish" or "evenish" - that is, whether the sum of the digits of n is odd or...

ongeveer 2 maanden ago

Solved

Calculate Inner Product

Given two input matrices, |x| and |y|, check if their inner dimensions match. * If they match, create an output variable |z|...

ongeveer 2 maanden ago

Solved

Find MPG of Lightest Cars

The file |cars.mat| contains a table named |cars| with variables |Model|, |MPG|, |Horsepower|, |Weight|, and |Acceleration| for ...

ongeveer 2 maanden ago

Solved

Find the Best Hotels

Given three input variables: hotels - a list of hotel names ratings - their ratings in a city cutoff - the rating at which yo...

2 maanden ago

Solved

Crop an Image

A grayscale image is represented as a matrix in MATLAB. Each matrix element represents a pixel in the image. An element value re...

2 maanden ago

Solved

Plot Damped Sinusoid

Given two vectors |t| and |y|, make a plot containing a blue ( |b| ) dashed ( |--| ) line of |y| versus |t|. Mark the minimum...

2 maanden ago

Solved

Calculate a Damped Sinusoid

The equation of a damped sinusoid can be written as |y = A.ⅇ^(-λt)*cos(2πft)| where |A|, |λ|, and |f| ...

2 maanden ago

Solved

Solve a System of Linear Equations

Example: If a system of linear equations in x₁ and x₂ is: 2x₁ + x₂ = 2 x₁ - 4 x₂ = 3 Then the coefficient matrix (A) is: 2 ...

2 maanden ago

Solved

Verify Law of Large Numbers

If a large number of fair N-sided dice are rolled, the average of the simulated rolls is likely to be close to the mean of 1,2,....

2 maanden ago

Solved

Find the Oldest Person in a Room

Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

2 maanden 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 maanden ago