# Christopher Creutzig

Last seen: 3 days ago Active since 2011

Followers: 0   Following: 0

All

#### Feeds

View by

Vectorized Levenshtein distances between arrays of text labels?
For this application, I recommend using editDistanceSearcher: You probably don't want to look at clusters larger than some size ...

3 days ago | 0

Solved

Can the given sides form a triangle?
Can the three given sides form a triangle?

2 months ago

Solved

Number of Circles in a Number
Given a number, return the number of closed 'circles' in the base 10 numerical representation. Note: the number 4 has no circ...

2 months ago

'reshape' function in MEX ?
Just because this question seems to still get a number of views: The mex function equivalent to reshape is called mxSetDimension...

4 months ago | 0

Using an LDA Model with a tall table
As Nikhilesh said, you probably want to process your data in some form of chunks. Since you want to fit an LDA model, the most o...

5 months ago | 0

Extracting text from PDF with extractFileText is not working for some PDF
This is a known issue in Text Analytics Toolbox. Please watch https://www.mathworks.com/support/bugreports/3155425 for updates.

6 months ago | 0

How to find out number of pages in a PDF file?
pdfinfo returns this information, starting in 23a.

8 months ago | 0

| accepted

Solved

Split Even Number Into Two Primes
Given an even whole number n (> 2), return a 2-element vector of primes, p, such that p(1) + p(2) = n. Fun note: technically it...

1 year ago

Solved

Determine if Input is Oddish or Evenish (Odd/Even Sum of Digits)
Given a positive integer n, determine whether n is "oddish" or "evenish" - that is, whether the sum of the digits of n is odd or...

1 year ago

Solved

What is the next step in Conway's Life?
Given a matrix A that represents the state of Conway's game of Life at one instant (time t=n), return the matrix B that represen...

1 year ago

How should XPath be set in TableSelector for htmlImportOptions so readtable( ) can output the first three tables in an html file?
readtable currently only returns a single table. There has been talk about a function returning multiple tables, but I don't kno...

1 year ago | 1

Generating piecewise function and plotting it
Your code mixes some x and x2 etc., as in x2.^2+x, which cannot work, as they have different sizes. Try this small modification:...

2 years ago | 3

How do I extract the contents of an HTML table on a web page into a MATLAB table?
Starting in R2021b, you can directly use readtable for HTML tables: readtable("https://www.tsa.gov/coronavirus/passenger-throug...

2 years ago | 6

How do you extract from a website table?
The problem with this page is that it is not using an HTML <table> for the data you are looking for. Otherwise, you would be abl...

2 years ago | 1

| accepted

My function creates a high oscillating unusual plot
What you are observing is a limitation of computing with floating point numbers. When computing a value of your function, say, f...

3 years ago | 0

Solved

Magic is simple (for beginners)
Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.

3 years ago

Solved

Make a random, non-repeating vector.
This is a basic MATLAB operation. It is for instructional purposes. --- If you want to get a random permutation of integer...

3 years ago

Solved

Number of 1s in a binary string
Find the number of 1s in the given binary string. Example. If the input string is '1100101', the output is 4. If the input stri...

3 years ago

Solved

Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2...

3 years ago

Solved

Return area of square
Side of square=input=a Area=output=b

3 years ago

Solved

Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

3 years ago

Extracting data from pdf files
JFTR, since R2017b, extractFileText('filename.pdf','Pages',4) from Text Analytics Toolbox gives you the text on ("physical") pag...

3 years ago | 0

How to set axis limit as a function of time with fanimator
Unfortunately, it is currently not possible to animate xlim/ylim/zlim with fanimator. Changing that would not be easy, based on ...

3 years ago | 0

Extract exponent of term in symbolic expression?
I believe you are looking for polynomialDegree: >> polynomialDegree(expression,a) ans = 2

4 years ago | 1

Symbolic: remove time dependency of variables or take derivative wrt time dependent variable
With your line syms alpha, you have overwritten the previous value of the MATLAB(!) variable alpha, so the alpha(t) in your subs...

4 years ago | 0

Graphing a hyperbola and its tangent lines
Your tangent lines are very short, and you plot the hyperbola right on top of them. Change the order, increase the size, and the...

4 years ago | 0

Help with displayFormula from symbolic math toolbox
Rendered formulas are only available in Live Editor, whether you use displayFormula or just have standard output. In Command Wi...

4 years ago | 1

Live Script result S(sig1) and C(sig1)?
Those are fresnels and fresnelc. Hovering your mouse over the output will show the function names behind these rendered names, a...

4 years ago | 1