Community Profile

photo

Christopher Creutzig

MathWorks

Last seen: 9 días ago Active since 2011

Statistics

All
  • Introduction to MATLAB Master
  • First Review
  • 3 Month Streak
  • Revival Level 3
  • Knowledgeable Level 2
  • First Answer
  • Commenter
  • Promoter
  • Solver

View badges

Content Feed

View by

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

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

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

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

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

4 meses ago

Solved


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

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

4 meses ago

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

7 meses ago | 0

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

11 meses ago | 0

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

más de 1 año ago | 1

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

más de 1 año ago | 0

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

más de 1 año ago | 0

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

más de 1 año ago | 0

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

más de 1 año ago | 1

Answered
text analytics toolbox and MeCab
Text Analytics Toolbox does not ship the tooling to compile an extended MeCab dictionary. But if you have one for your field (I ...

más de 1 año ago | 0

Answered
How to use word2vec with the documents
doc2sequence is actually the tool to use to run word2vec on a document, plus padding the output to a common length if desired – ...

más de 1 año ago | 0

Answered
partial word search text analytics toolbox
You could compute those words and then feed them into context: documents = tokenizedDocument(["A long winding road"; "The winds...

más de 1 año ago | 0

Answered
Text Analytics Toolbox seems making lots of mistakes on recognizing language and PartOfSpeech
Language detection also works very much better on longer text. It is not trying to do a dictionary lookup (and several of your w...

más de 1 año ago | 0

Answered
How to append abbreviations in Text Analytics Toolkit
You cannot extend the return value of abbreviations. But you can pass an extended table to addSentenceDetails in the "Abbreviati...

más de 1 año ago | 0

Answered
How was the exampleWordEmbedding example in the text analytics toolbox trained, in detail?
The embedding is rather low-dimensional (50 dimensions) and has a small vocabulary (with 9999 words). It is unlikely to be “high...

más de 1 año ago | 0

Answered
Script doesn't seem to be execute properly
In your code, you spend a lot of time computing the same prime over and over again. Do not start the search at a+1 for the secon...

casi 3 años ago | 3

Answered
Question on running fitlda
Gibbs sampling involves stochastic elements (i.e., a pseudorandom number generator), meaning reproducing exactly the results of ...

casi 3 años ago | 1

| accepted

Answered
Changing varibles in a Matrix to Values
Assigning values to MATLAB variables does not affect symbolic expressions that have variables of the same name inside. Use the s...

alrededor de 3 años ago | 0

Answered
multivariable dsolve. Can it be solved for multivariables?
You are trying to solve a PDE (partial differential equation), but dsolve only handles ODEs (ordinary differential equations), w...

alrededor de 3 años ago | 1

Answered
How to find mutual words in title field?
If I read the question correctly, you are looking for a co-occurence matrix. You can get those from a bag-of-Words model by a ma...

alrededor de 3 años ago | 0

Answered
computing frequency*rank
Assuming we have t = topkwords(bag,100); You can get frequency*rank as: t.FreqTimesRank = (1:size(t,1)).*t.Count; And you ca...

alrededor de 3 años ago | 0

| accepted

Answered
Does the text analytics toolbox allow users to test out-of-sample perplexity with LDA?
The second output of logp gives you the perplexity. txt = extractFileText('sonnets.txt'); sonnets = split(txt,[newline newline...

alrededor de 3 años ago | 0

| accepted

Answered
Code for text mining through Bayes Classifier?
MathWorks has examples like this one using classifiers from the Statistics and Machine Learning Toolbox to work on text data. Th...

alrededor de 3 años ago | 0

Answered
how to create a function that counts all words in a document?
Check out the bagOfWords class in Text Analytics Toolbox. It solves exactly this problem. (You may want to have some preprocess...

alrededor de 3 años ago | 0

Answered
how to find most common words in text by matlab
Finding the most common words is easy with Text Analytics Toolbox: >> sonnets = extractFileText("sonnets.txt"); >> sonnets = e...

alrededor de 3 años ago | 2

| accepted

Load more