Risolto


Divisible by 2
This is the first problem in a set of "divisible by x" problems. You will be provided a number as a string and the function you ...

oltre 3 anni fa

Risolto


Join Strings with Multiple Different Delimiters
The idea is to form the string S by interleaving the elements of a cell array of strings DELIMITER and another cell array of st...

oltre 3 anni fa

Risposto
How to set the thickness of edge for one marker in plot?
The 'LineWidth' Property controls the thickness of the marker edge. e.g. plot(data(:,1),data(:,2),'o','MarkerSize',5, 'Marke...

oltre 3 anni fa | 0

| accettato

Risposto
Plot time series analysis from multiple netcdf files
Read each netCDF file. Concatenate the arrays. Plot the concatenated arrays.

oltre 3 anni fa | 0

Risposto
How to make a Video from 3D array
You never defined the variable cmap which is supposed to be a color map. Try This: Orig = rand(600,600,28); camp=parula; X =...

oltre 3 anni fa | 1

Risolto


Octoberfest festival
A group of students decided to visit Octoberfest festival. First they ordered one beer, then after half-hour they taken one more...

oltre 3 anni fa

Inviato


Figure Subaxes Labeler
Labels figure subaxes. The labels can be capital letters, lowercase, numbers, or any user-specified characters.

oltre 3 anni fa | 1 download |

Thumbnail

Risolto


Missing five
Convert decimal numbers to a base-9 notation missing the digit *5* <<http://www.alfnie.com/software/missing5.jpg>> Too man...

oltre 3 anni fa

Risolto


Basic electricity in a dry situation
&#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#...

oltre 3 anni fa

Risolto


Project Euler: Problem 4, Palindromic numbers
A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 ...

oltre 3 anni fa

Risolto


Project Euler: Problem 9, Pythagorean numbers
A Pythagorean triplet is a set of three natural numbers, a b c, for which, a^2 + b^2 = c^2 For example, 3^2 + 4^2 =...

oltre 3 anni fa

Risolto


Project Euler: Problem 8, Find largest product in a large string of numbers
Find the greatest product of five consecutive digits in an n-digit number. 73167176531330624919225119674426574742355349194934...

oltre 3 anni fa

Risolto


Project Euler: Problem 7, Nth prime
By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13. What is the Nth prime nu...

oltre 3 anni fa

Risolto


Project Euler: Problem 3, Largest prime factor
The prime factors of 13195 are 5, 7, 13 and 29. What is the largest prime factor of the number being input, input might be ui...

oltre 3 anni fa

Risolto


Project Euler: Problem 5, Smallest multiple
2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder. What is the smalle...

oltre 3 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 3 anni fa

Risolto


Project Euler: Problem 10, Sum of Primes
The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. Find the sum of all the primes below the input, N. Thank you <http:/...

oltre 3 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 3 anni fa

Risposto
Plot polygons defined by the specific points on map
There are many ways to do this, but this works. lats= [30 32 31; 29 30 31]; lons = [-102 -103 -104; -100 -103 -101]; [numrows...

oltre 3 anni fa | 0

Inviato


wetbulb
Calculates the wetbulb temperature given pressure, dewpoint, and temperature

oltre 3 anni fa | 1 download |

Risolto


I Plead the Fifth
Write a function to provide a yes or no answer to the input string. However, it must plead the 5th amendment (return an empty st...

oltre 3 anni fa

Risposto
Image registration with imwarp without scaling?
Try using imregtform with transformType set to rigid.

oltre 3 anni fa | 0

Risposto
Why doesnt int2str return string
It's turned your value into a char, not a string. ischar(int2str(F{1,4})) should return true If you look at the function hel...

oltre 3 anni fa | 0

| accettato

Risposto
find finite numbers in B using logic indexing ?
B_finite_only = B(isfinite(B)); B_finite_only_sum = sum(B_finite_only);

oltre 3 anni fa | 0

| accettato

Risposto
random letter bother upper & lower case
This is a fun puzzle. Upper-case letters run of 65-90 in an ASCII table and lower-case runs from 97 to 122. You can use char to ...

oltre 3 anni fa | 1

| accettato

Risposto
How to obtain indices of cell arrays?
There might be an easier way to do this, but it works. % get the indices of all non-empty cells [row,col] = find(cellfun(@(x) ...

oltre 3 anni fa | 0

| accettato

Risposto
How do I convert a 3x1 cell to a 1x3
The transposition operator will work. a={1,2,3}; % 1x3 cell a = a'; % a now a 3x1 cell a = a'; % a is a 1x3 cell again

oltre 3 anni fa | 0

Risposto
How to Increase the rectangular block marker in legend in bar plot
Better design practice is to label the bars directly rather than keeping the label information off the the side in a legend box ...

oltre 3 anni fa | 0

Risposto
How to define both integer and decimal increment in one for loop?
I'm not clear on what you're looking for. Do you want something like this: span1 = 0:0.1:1; span2 = 3:2:30; span = [span1 spa...

oltre 3 anni fa | 0

Risposto
Indexing all the row data for each column
For a 2D matrix, you can access a row as follows: % Matlab indexing is row major % return single row of matrix A A(1,:) A(2,...

oltre 3 anni fa | 0

Carica altro