Statistica
RANK
7.114
of 292.815
REPUTAZIONE
6
CONTRIBUTI
1 Domanda
2 Risposte
ACCETTAZIONE DELLE RISPOSTE
100.0%
VOTI RICEVUTI
3
RANK
12.881 of 19.942
REPUTAZIONE
24
VALUTAZIONE MEDIA
0.00
CONTRIBUTI
1 File
DOWNLOAD
2
ALL TIME DOWNLOAD
244
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
How can I move the colorbar in a surf plot?
*The following answer was provided by Steve Schäfer from MathWorks Support and solves my problem (edited for readability):* S...
quasi 6 anni fa | 3
| accettato
Inviato
Autocorrelation Function from Power Spectral Density
Using the Wiener-Khintchine theorem to compute autocorrelation from power spectral density of a light field.
quasi 6 anni fa | 1 download |
Generating random radii of circle
I assume your question to be intended as follows: You want to sample uniformly 10^6 points inside a circle with radius 10. Then ...
quasi 6 anni fa | 0
Domanda
How can I move the colorbar in a surf plot?
When using the following code, the colorbar overlaps with the tick labels of the x-axis: surf(peaks); set(gca,'FontSize'...
quasi 6 anni fa | 2 risposte | 0
2
risposteRisolto
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 ...
oltre 6 anni fa
Risolto
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. ...
oltre 6 anni fa
Risolto
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...
oltre 6 anni fa
Risolto
Alternating sum
Given vector x, calculate the alternating sum y = x(1) - x(2) + x(3) - x(4) + ...
oltre 6 anni fa
Risolto
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 ...
oltre 6 anni fa
Risolto
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.
oltre 6 anni fa
Risolto
Scrabble Scores
Given a word, determine its score in <http://en.wikipedia.org/wiki/Scrabble Scrabble>. The input string will always be provi...
oltre 6 anni fa
Risolto
Quote Doubler
Given a string s1, find all occurrences of the single quote character and replace them with two occurrences of the single quote ...
oltre 6 anni fa
Risolto
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 ...
oltre 6 anni fa
Risolto
Find the alphabetic word product
If the input string s is a word like 'hello', then the output word product p is a number based on the correspondence a=1, b=2, ....
oltre 6 anni fa
Risolto
Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...
oltre 6 anni fa
Risolto
Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...
oltre 6 anni fa
Risolto
Binary numbers
Given a positive, scalar integer n, create a (2^n)-by-n double-precision matrix containing the binary numbers from 0 through 2^n...
oltre 6 anni fa
Risolto
Target sorting
Sort the given list of numbers |a| according to how far away each element is from the target value |t|. The result should return...
oltre 6 anni fa
Risolto
Pascal's Triangle
Given an integer n >= 0, generate the length n+1 row vector representing the n-th row of <http://en.wikipedia.org/wiki/Pascals_t...
oltre 6 anni fa
Risolto
The Goldbach Conjecture
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...
oltre 6 anni fa
Risolto
Remove all the words that end with "ain"
Given the string s1, return the string s2 with the target characters removed. For example, given s1 = 'the main event' your ...
oltre 6 anni fa
Risolto
Counting Money
Add the numbers given in the cell array of strings. The strings represent amounts of money using this notation: $99,999.99. E...
oltre 6 anni fa
Risolto
Which values occur exactly three times?
Return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. So if x = [1 2...
oltre 6 anni fa
Risolto
Pangrams!
A pangram, or holoalphabetic sentence, is a sentence using every letter of the alphabet at least once. Example: Input s ...
oltre 6 anni fa
Risolto
Function Iterator
Given a handle fh to a function which takes a scalar input and returns a scalar output and an integer n >= 1, return a handle f...
oltre 6 anni fa
Risolto
Sort a list of complex numbers based on far they are from the origin.
Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...
oltre 6 anni fa
Risolto
Remove the vowels
Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...
oltre 6 anni fa
Risolto
Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...
oltre 6 anni fa
Risolto
Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...
oltre 6 anni fa
Risolto
Bullseye Matrix
Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...
oltre 6 anni fa