photo

Dan Gianotti


Last seen: 5 månader ago Active since 2012

Followers: 0   Following: 0

Message

Statistics

All
  • Thankful Level 2
  • Community Group Solver
  • First Review
  • Knowledgeable Level 1
  • First Answer
  • Thankful Level 1
  • CUP Challenge Master
  • Promoter
  • Solver

View badges

Feeds

View by

Solved


Given n, create n random numbers such that their standard deviation is also n.
Given n, create n random numbers such that their standard deviation is also n.

10 månader ago

Solved


Interpolator
You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

mer än 3 år ago

Solved


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

mer än 3 år ago

Solved


Create a vector
Create a vector from 0 to n by intervals of 2.

mer än 3 år ago

Solved


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

mer än 3 år ago

Solved


Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

mer än 3 år ago

Solved


Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

mer än 3 år ago

Solved


Find max
Find the maximum value of a given vector or matrix.

mer än 3 år ago

Question


How can I plot my own raster data in geoglobe?
I'm excited about the geoglobe function, and am trying to figure out how to put my own raster data on it. The analogy I'm workin...

nästan 4 år ago | 1 answer | 0

1

answer

Question


Current figure window resizes when calling "print" [recent change in functionality]?
I'm using 2018b on MS Windows 10 and have recently noticed that calling either of print(gcf) print(gcf,'-dpng','filename.png...

mer än 5 år ago | 1 answer | 2

1

answer

Solved


Energy of a photon
*&#9883 &#9762 &#9883 &#9762 &#9883 &#9762 &#9883* Given the frequency F of a photon in giga hertz. Find energy E of this...

mer än 6 år ago

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_0 = 0 and F_1 ...

mer än 6 år ago

Solved


Alternating sum
Given vector x, calculate the alternating sum y = x(1) - x(2) + x(3) - x(4) + ...

mer än 6 år ago

Solved


Project Euler: Problem 2, Sum of even Fibonacci
Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 te...

nästan 7 år ago

Solved


Project Euler: Problem 6, Natural numbers, squares and sums.
The sum of the squares of the first ten natural numbers is, 1^2 + 2^2 + ... + 10^2 = 385 The square of the sum of the first ...

nästan 7 år ago

Solved


Return the Fibonacci Sequence
Write a code which returns the Fibonacci Sequence such that the largest value in the sequence is less than the input integer N. ...

nästan 7 år ago

Solved


Knight's Tour Checker
Given a matrix a, determine whether or not a legal <http://en.wikipedia.org/wiki/Knight's_tour knight's tour> is present. The kn...

nästan 7 år ago

Solved


Subset Sum
Given a vector v of integers and an integer n, return the the indices of v (as a row vector in ascending order) that sum to n. I...

nästan 7 år ago

Answered
Saving Table In For Loop?
Something like this? for i = 1:N T = calculate_my_table(i); % Whatever you do to get your table fname = ['My...

nästan 7 år ago | 0

| accepted

Question


Exceeding maximum array size with mldivide and sparse matrices?
I have two (large) sparse matrices: size(A) = [6262144 6262144] size(B) = [6262144 864000] I would like to cal...

mer än 7 år ago | 1 answer | 0

1

answer

Solved


Triangle sequence
A sequence of triangles is constructed in the following way: 1) the first triangle is Pythagoras' 3-4-5 triangle 2) the s...

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

mer än 7 år ago

Solved


Is this triangle right-angled?
Given any three positive numbers a, b, c, return true if the triangle with sides a, b and c is right-angled. Otherwise, return f...

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

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

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

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

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

mer än 7 år ago

Solved


Evil Number
Check if a given natural number is evil or not. Read more at <https://oeis.org/A001969 OEIS>.

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

mer än 7 år ago

Load more