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

más de 5 años hace | 0

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

más de 5 años hace | 0

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

más de 5 años hace | 2

| aceptada

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

más de 6 años hace | 0

| aceptada

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

más de 6 años hace | 1

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

más de 6 años hace | 0

| aceptada

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

más de 6 años hace | 6

| aceptada

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

más de 6 años hace | 0

| aceptada

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

más de 6 años hace | 0

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

más de 6 años hace | 0

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

casi 7 años hace | 2

| aceptada

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

casi 7 años hace | 0

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

casi 7 años hace | 6

| aceptada

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

más de 7 años hace | 1

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

casi 10 años hace | 0

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

casi 10 años hace | 0

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

casi 10 años hace | 2

| aceptada

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

casi 10 años hace | 0

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

casi 10 años hace | 0

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

casi 10 años hace | 0

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

casi 10 años hace | 0

| aceptada

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

casi 10 años hace | 0

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

casi 10 años hace | 1

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

casi 10 años hace | 0

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

casi 10 años hace | 0

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

alrededor de 10 años hace | 0

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

alrededor de 10 años hace | 1

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

alrededor de 10 años hace | 0

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

más de 10 años hace | 1

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

más de 10 años hace | 0

Cargar más