Solved

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

23 dagar ago

Answered

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(:);...

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(:);...

23 dagar ago | 0

Answered

Vector entry differs from the others

Try using isoutlier and rmoutliers.

Vector entry differs from the others

Try using isoutlier and rmoutliers.

24 dagar ago | 0

| accepted

Published

How to Detect an X-Rite® ColorChecker® Chart

When I saw this picture, I was really tempted to take it into the local garden nursery and ask them how to keep color...

25 dagar ago

Solved

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

25 dagar ago

Answered

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

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

26 dagar ago | 0

| accepted

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

26 dagar ago

Solved

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

27 dagar ago

Answered

How to find integral over 2D image

Try integralImage. This function computes a cumulative in both directions, which would approximate the two-dimensional integral ...

How to find integral over 2D image

Try integralImage. This function computes a cumulative in both directions, which would approximate the two-dimensional integral ...

27 dagar ago | 0

Answered

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

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

ungefär en månad ago | 0

Answered

Disoriented Matlab output plot

Try using a regular text object instead, like this: text(0,41.75,string(0),'FontSize',8,'HorizontalAlignment','center')

Disoriented Matlab output plot

Try using a regular text object instead, like this: text(0,41.75,string(0),'FontSize',8,'HorizontalAlignment','center')

ungefär en månad ago | 0

Solved

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

ungefär en månad 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...

ungefär en månad ago

Answered

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

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

ungefär en månad ago | 0

Answered

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

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

ungefär en månad ago | 1

Answered

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

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

ungefär en månad ago | 2

| accepted

Published

Making Color Spectrum Plots – Part 3

Recently, I've been explaining how I made this plot, which is from DIPUM3E (Digital Image Processing Using MATLAB, 3rd ed.):...

2 månader ago

Published

What is 0.01?

I was looking at these two numbers the other day:$0.01$$\frac{5764607523034235}{576460752303423488}$It turns out they are...

3 månader ago

Published

Making Color Spectrum Plots – Part 2

It was a while ago now, but on April 27 I started explaining how I made this plot, which is from DIPUM3E (Digital Image...

3 månader ago

Submitted

MATLAB Color Tools

MATLAB Color Tools is an experimental collection of MATLAB functions related to color science computation and visualization.

3 månader ago | 9 downloads |

Published

Making Color Spectrum Plots – Part 1

The new edition of Digital Image Processing Using MATLAB (DIPUM3E) contains a number of MATLAB functions related to color,...

6 månader ago

Published

Geometric Transformation of Points – Getting Started

I like to think of geometric transformations of images (stretching, shrinking, rotating, etc.) by starting with the...

7 månader ago

Published

How to Display Color Swatches

When working on the "Color Image Processing" chapter of DIPUM3E, I found myself often wanting to display square blocks (or...

8 månader ago

Published

Digital Image Processing Using MATLAB, 3rd edition

The 3rd edition of Digital Image Processing Using MATLAB (DIPUM3E) has just been published, at long last. The new edition...

8 månader ago

Published

Treble clefs, Unicode, SVG, strings, Bézier curves, kron, implicit expansion, and polyshape

Today I will show you how I plotted this treble clef symbol in MATLAB: My discovery and implementation process for doing...

9 månader ago

Published

How to Write Animated PNG (APNG) Files from MATLAB

Today, I'm writing about how to create animated PNG (APNG) files, such as this one: I first wrote about APNG files last...

10 månader ago

Submitted

Animated PNG (APNG) Writer

Create APNG (animated PNG) files

10 månader ago | 2 downloads |

Published

How to Go a Little Crazy with Graphics Titles

The title function is the third most commonly-used function in my 13 years of writing this blog, after imshow and imread....

11 månader ago

Published

How to Overlay a Color on an Image Using a Mask

In my first year of writing this blog (2006!), I showed how to overlay a color onto an image based on a mask. This was the...

11 månader ago

Submitted

Image overlay

Overlay a binary mask onto an image using a specified color

11 månader ago | 28 downloads |