Community Profile

photo

Maria K


Last seen: nästan 4 år ago Active since 2017

Followers: 0   Following: 0

Statistics

All
  • First Answer
  • Solver
  • Commenter
  • Thankful Level 3

View badges

Feeds

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

nästan 4 år 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...

nästan 4 år 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...

nästan 4 år 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...

nästan 4 år 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...

nästan 4 år 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 ...

nästan 4 år 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 ...

nästan 4 år 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...

nästan 4 år 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...

nästan 4 år 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...

nästan 4 år 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...

nästan 4 år 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....

nästan 4 år 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...

nästan 4 år 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...

nästan 4 år 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...

nästan 4 år 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...

nästan 4 år 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...

nästan 4 år 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...

nästan 4 år 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)...

nästan 4 år 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...

nästan 6 år 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...

nästan 6 år ago | 2 answers | 2

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

ungefär 6 år ago | 1 answer | 0

1

answer

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

ungefär 6 år 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...

ungefär 6 år 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...

ungefär 6 år 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...

mer än 6 år 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.

mer än 6 år 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...

mer än 6 år 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...

mer än 6 år 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 ...

mer än 6 år ago

Load more