已解决


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

4 years 前

已回答
Switch-case function problem
First variation: fix the switch and case lines and the indexing into cName. switch color(ind) case 0 ...

4 years 前 | 1

| 已接受

已解决


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

4 years 前

已解决


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

4 years 前

已回答
Reversing/Alternatives of function handles
One of the major uses of function handles is for use with functions that operate on other functions. For example, you can use th...

4 years 前 | 1

已回答
How to write a pattern for any different values
T = readtable('matlab_question2.csv'); idx = find(diff(T.x)) idx = 119 314 351 3...

4 years 前 | 1

| 已接受

已解决


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 = 9 + 16 ...

4 years 前

已回答
Row and Column Interpolations
[Update: based on the comment thread below, it appears that "column interpolation" means something different than what I wrote i...

4 years 前 | 0

已解决


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

4 years 前

已回答
SAME VALUE ON EVERY LOOP...
This loop in your code looks suspicious to me: % change material properties of lesion for i=1:indices_1 t_id = elem_e(:);...

4 years 前 | 0

已回答
Vector entry differs from the others
Try using isoutlier and rmoutliers.

4 years 前 | 0

| 已接受

已解决


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

4 years 前

已回答
Arrange words and phrases separated by semi-colon into a single column
% Simulated data covering two months. Phrases = ["EARLY-TYPE GALAXIES; X-RAY; DENSE CLUSTERS" "LOCAL CONVERGENCE DEPTH; TU...

4 years 前 | 0

| 已接受

已解决


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

4 years 前

已解决


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

4 years 前

已回答
How to find integral over 2D image
Try integralImage. This function computes a cumulative in both directions, which would approximate the two-dimensional integral ...

4 years 前 | 0

已回答
How do I get the actual mesh Vertices and Triangles generated by the spiralRectangular function in the Antenna Tool Box?
I don't see a documented interface for this, but you can find the patch object produced by the show method and then get the face...

4 years 前 | 0

已回答
Disoriented Matlab output plot
Try using a regular text object instead, like this: text(0,41.75,string(0),'FontSize',8,'HorizontalAlignment','center')

4 years 前 | 0

已解决


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

4 years 前

已解决


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

4 years 前

已回答
Log axis with percentage tick labels
From what I can tell, the ruler object ignores the TickLabelFormat property (which is set by ytickformat) when the Scale is 'log...

4 years 前 | 0

已回答
Help calling my basic function
You must use the filename as the function name when calling your function. MATLAB will not pay attention to the "n" inside the f...

4 years 前 | 1

已回答
Why does evaluating a function with symbolic variables take so much longer than with a double?
When MATLAB performs arithmetic on normal numeric values, which are represented internally as double-precision floating-point nu...

4 years 前 | 2

| 已接受

已提交


Animated PNG (APNG) Writer
Create APNG (animated PNG) files

5 years 前 | 1 次下载 |

Thumbnail

已提交


Image overlay
Overlay a binary mask onto an image using a specified color

5 years 前 | 6 次下载 |

Thumbnail

已提交


Zone plate test image
MATLAB function to create a zone plate test image

5 years 前 | 1 次下载 |

Thumbnail

已提交


Penrose Rhombus Tiling
MATLAB functions for Penrose tiling

5 years 前 | 4 次下载 |

Thumbnail

已回答
Any way to polish / improve the output produced by the Lab colour space segmentation.
I used the Color Thresholder app in the Image Processing Toolbox to give this a try. rgb = imread('b4.jpeg'); colorThresholder...

5 years 前 | 1

| 已接受

已回答
Raw image file conversion in MATLAB
Steffen, I have seen your tech support case escalation, and I have looked at the file you sent to MathWorks. The MATLAB functi...

5 years 前 | 2

已回答
hi i've a problem the function newline dosen't work in matlab 2016a??
The function newline was introduced in R2016b. Instead of newline, you can use char(10) or sprintf('\n').

6 years 前 | 1

加载更多