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

meer dan 5 jaar 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...

meer dan 5 jaar 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...

meer dan 5 jaar ago | 2

| accepted

Answered
How to fucntions like plot f(x,y) = 2 when 0<=x<=1 and 0<=y<=x
If the region to plot over were a simple 0 ≤ x ≤ 1 and 0 ≤ y ≤ 1, you could use |fimplicit(f(x,y) - 2, [0 1 0 1])|. I don't thin...

meer dan 6 jaar ago | 0

| accepted

Answered
Int vs Integral; Int giving wrong results
As the documentation says down in the “Tips” section, |int(f,1,S)| assumes that |1 ≤ S|. In that region, your input function is ...

meer dan 6 jaar ago | 1

Answered
measuring term frequency of words
See <https://www.mathworks.com/help/textanalytics/ref/bagofwords.html the |bagOfWords| documentation>. E.g., you can use the |tf...

meer dan 6 jaar ago | 0

| accepted

Answered
Is it possible to convert symfun to sym?
Symfun is a subclass of sym, so, yes, a symfun is already a sym. To get only the body of the function, use |formula| or call ...

meer dan 6 jaar ago | 6

| accepted

Answered
Is there any video which shows the entire process of opinion mining on actual data?
In its simplest form, opinion mining can be viewed as a binary classification problem. There is an example at <https://www.mathw...

meer dan 6 jaar ago | 0

| accepted

Answered
How can I remove websites' links from a text?
The <https://www.mathworks.com/help/textanalytics/ref/eraseurls.html eraseURLs> functions might help. Which does a little more w...

meer dan 6 jaar ago | 0

Answered
Text Extraction and retrieval
It's probably easiest to split the text and then check the number of splits created to count, using string functions: str =...

meer dan 6 jaar ago | 0

Answered
How to Read PDF file in Matlab?
Just for the record, Text Analytics Toolbox (new in R2017b) includes a function |extractFileText| that will extract text data fr...

bijna 7 jaar ago | 2

| accepted

Answered
Basic question about Text Analysis/Text Analytics/Text Mining using Matlab
As a quick update, the new <https://www.mathworks.com/products/text-analytics.html Text Analytics Toolbox> debuted in R2017b.

bijna 7 jaar ago | 0

Answered
How to link 2 3D subplots to sync zoom and pan?
As Adam suggested in the comments, this seems to work: ax1 = subplot(1, 2, 1); [x,y,z] = peaks; surf(x,y,z); ax2 =...

bijna 7 jaar ago | 6

| accepted

Answered
How to use intervals within fplot?
In R2016a and beyond, you could use this: fplot(@f,[10,20],'MeshDensity',100) It's worth noting that |fplot| in these re...

meer dan 7 jaar ago | 1

Answered
Reducing or simplifying the **symbolic** product of two integrals
What |simplify| currently cannot do is to rename your bound variable |eta| to |xi| at the right time. You may need to explicitly...

bijna 10 jaar ago | 0

Answered
Symbolic Output Display Problem
If I understand your problem correctly, you don't want approximations as given by |vpa|. In that case, here's the best advice I ...

bijna 10 jaar ago | 0

Answered
MUPAD plot multiple points
If you already have multiple points (not just the vector |r|), you can get a line through them this way: plot([[1,2],[3,10]...

bijna 10 jaar ago | 2

| accepted

Answered
Creating new symbolic identities
Works for me: >> syms x y z >> S = x^2+y^2+z^2+x+y+z+1 S = x^2 + x + y^2 + y + z^2 + z + 1 >> su...

bijna 10 jaar ago | 0

Answered
Big integer and Precision
You can compute with exact integers and rationals using the symbolic toolbox, just make sure they are not cut off by computing i...

bijna 10 jaar ago | 0

Answered
Error, (in expand/bigprod) integer too large in context ?
This error means the computation is trying to compute something like integer^integer with an exponent larger than 2^32. The resu...

bijna 10 jaar ago | 0

Answered
Solve symbolic system of equations when specifying solutions
>> A = sym('a',[3 3]); >> b = sym('b',[3 1]); >> x = A\b x = (a1_2*a2_3*b3 - a1_3*a2_2*b3 - a1_2*a3_3*...

bijna 10 jaar ago | 0

| accepted

Answered
Find degree of non-polynomial expression in Matlab
That depends on what exactly you are looking for in the general case. Here's something that works in this particular one: >...

bijna 10 jaar ago | 0

Answered
Comparing accuracy of symbolic computation with matlabFunction
Small correction to Christopher Berry's answer: |double(subs(s))| does not compute to 32 digits (unless the values substituted a...

bijna 10 jaar ago | 1

Answered
simplifying symbolic expressions using assumptions
This approximation can be viewed as a special kind of truncated series: >> syms X Y >> A = X/(X*Y + 1); >> taylor(A, ...

bijna 10 jaar ago | 0

Answered
Using subs for multiple substitution when the symbolic expression is a matrix
If you want to substitute values for all variables, want to get a double, and plan to do that more often, I definitely recommend...

bijna 10 jaar ago | 0

Answered
How to get mupad to plot solution points for inequalities?
The intersection of your boundaries will be on the boundaries (I know, not surprising), so you can simply say |solve([-x+y = -2,...

ongeveer 10 jaar ago | 0

Answered
Symbolic vector/matrix problem
|matlabFunction| happily handles matrices of parameters, with the meaning that the resulting function is called with a matrix in...

ongeveer 10 jaar ago | 1

Answered
Matlab crashes when I use symbolic toolbox
Please contact support@mathworks.com so they can help you figuring out what the problem might be.

ongeveer 10 jaar ago | 0

Answered
Symbolic DFFT in MATLAB?
I have no idea what “plotting its abs on a continuous interval” means, but you certainly can get a symbolic, exact, FFT from the...

meer dan 10 jaar ago | 1

Answered
CAT arguments dimensions are not consistent while using eval command of symbolic jacobian
Don't use |eval| on syms. Preferably, don't ever. Better use |subs| as in q = double(subs(jacobian(f), {x1, x2}, {x(:,1), x...

meer dan 10 jaar ago | 0

Load more