Community Profile

photo

Maria K


Last seen: 6 mesi ago
38 total contributions since 2017

Maria K's Badges

  • First Answer
  • Solver
  • Commenter
  • Thankful Level 2

View details...

Contributions in
View by

Solved


The Goldbach Conjecture, Part 2
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

6 mesi ago

Question


delete zeros from matrix
How do I delete all the columns that have zeros with a for loop? I tried reducing the number of columns by one in every iteratio...

6 mesi ago | 2 answers | 0

2

answers

Solved


Duplicates
Write a function that accepts a cell array of strings and returns another cell array of strings *with only the duplicates* retai...

6 mesi ago

Solved


Counting Sequence
Given a vector x, find the "counting sequence" y. A counting sequence is formed by "counting" the entries in a given sequence...

6 mesi ago

Solved


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

6 mesi ago

Solved


Replace NaNs with the number that appears to its left in the row.
Replace NaNs with the number that appears to its left in the row. If there are more than one consecutive NaNs, they should all ...

6 mesi ago

Solved


The Goldbach Conjecture
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

6 mesi ago

Solved


Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

6 mesi ago

Solved


Find a Pythagorean triple
Given four different positive numbers, a, b, c and d, provided in increasing order: a < b < c < d, find if any three of them com...

6 mesi ago

Solved


Area of an Isoceles Triangle
An isosceles triangle has equal sides of length x and a base of length y. Find the area, A, of the triangle. <<http://upload...

6 mesi ago

Solved


Is this triangle right-angled?
Given three positive numbers a, b, c, where c is the largest number, return *true* if the triangle with sides a, b and c is righ...

6 mesi ago

Solved


Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<http://upload....

6 mesi ago

Solved


Side of an equilateral triangle
If an equilateral triangle has area A, then what is the length of each of its sides, x? <<http://upload.wikimedia.org/wikipe...

6 mesi ago

Solved


Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<http://upload.wikimedia.org/wikipedia/commons/e/e0/Equilateral-tr...

6 mesi ago

Solved


Side of a rhombus
If a rhombus has diagonals of length x and x+1, then what is the length of its side, y? <<http://upload.wikimedia.org/wikipe...

6 mesi ago

Solved


Dimensions of a rectangle
The longer side of a rectangle is three times the length of the shorter side. If the length of the diagonal is x, find the width...

6 mesi ago

Solved


Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

6 mesi ago

Question


Fibonacci even numbers. Code doesn't work for large numbers
I have writen a code to calculate for every d numbers all the fibonacci numbers that are even, but it doesn't seem to work for l...

6 mesi ago | 1 answer | 0

1

answer

Solved


Fibonacci-Sum of Squares
Given the Fibonacci sequence defined by the following recursive relation, * F(n) = F(n-1) + F(n-2) * where F(1) = 1 and F(1)...

6 mesi ago

Question


add titles above distinct parts of graph
Hello! Does anyone know how to add titles above two parts of a graph and maybe also include hooks like the ones shown in the...

oltre 2 anni ago | 1 answer | 0

1

answer

Question


bootstrap p-value
Hello! Does anyone know how to get a p-value using bootstrap? I have created a sample of 20 bootstrapped data and calculated...

oltre 2 anni ago | 2 answers | 1

2

answers

Question


test if gamma distribution is appropriate for my data
Hello! I have some data that i want to fit to a gamma distribution and get the goodness of fit. I used the following commands:...

oltre 2 anni ago | 0 answers | 0

0

answers

Question


fit gamma distribution in barchart
Hello, is anyone acquinted with fitting gamma distributions in binocular rivalry data? If you have some matlab code in mind that...

circa 3 anni ago | 0 answers | 0

0

answers

Solved


Which doors are open?
There are n doors in an alley. Initially they are all shut. You have been tasked to go down the alley n times, and open/shut the...

circa 3 anni ago

Question


replace cell array row with another cell array
Hello!! I have this cell array: trials = {'orientations', '-18', '-36', '-54', '-72', '-90', '-108' '-126' '-144' '-1...

circa 3 anni ago | 1 answer | 0

1

answer

Solved


Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

circa 3 anni 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.

circa 3 anni ago

Solved


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

circa 3 anni ago

Solved


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

circa 3 anni ago

Solved


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

circa 3 anni ago

Load more