A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A répondu
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...

plus de 2 ans il y a | 0

| A accepté

A répondu
Plot time series analysis from multiple netcdf files
Read each netCDF file. Concatenate the arrays. Plot the concatenated arrays.

presque 3 ans il y a | 0

A répondu
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 =...

presque 3 ans il y a | 1

A résolu


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

presque 3 ans il y a

A soumis


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

presque 3 ans il y a | 1 téléchargement |

Thumbnail

A résolu


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

presque 3 ans il y a

A résolu


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

presque 3 ans il y a

A résolu


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

presque 3 ans il y a

A résolu


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

presque 3 ans il y a

A résolu


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

presque 3 ans il y a

A résolu


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

presque 3 ans il y a

A résolu


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

presque 3 ans il y a

A résolu


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

presque 3 ans il y a

A résolu


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

presque 3 ans il y a

A résolu


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

presque 3 ans il y a

A résolu


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

presque 3 ans il y a

A répondu
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...

presque 3 ans il y a | 0

A soumis


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

presque 3 ans il y a | 1 téléchargement |

A résolu


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

presque 3 ans il y a

A répondu
Image registration with imwarp without scaling?
Try using imregtform with transformType set to rigid.

presque 3 ans il y a | 0

A répondu
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...

presque 3 ans il y a | 0

| A accepté

A répondu
find finite numbers in B using logic indexing ?
B_finite_only = B(isfinite(B)); B_finite_only_sum = sum(B_finite_only);

presque 3 ans il y a | 0

| A accepté

A répondu
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 ...

presque 3 ans il y a | 1

| A accepté

A répondu
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) ...

presque 3 ans il y a | 0

| A accepté

A répondu
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

presque 3 ans il y a | 0

A répondu
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 ...

presque 3 ans il y a | 0

A répondu
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...

presque 3 ans il y a | 0

A répondu
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,...

presque 3 ans il y a | 0

Charger plus