回答済み
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...

約6年 前 | 0

| 採用済み

回答済み
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...

約6年 前 | 0

回答済み
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...

約6年 前 | 0

回答済み
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...

約6年 前 | 2

| 採用済み

回答済み
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...

7年弱 前 | 0

| 採用済み

回答済み
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 ...

7年弱 前 | 1

回答済み
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...

約7年 前 | 0

| 採用済み

回答済み
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 ...

約7年 前 | 6

| 採用済み

回答済み
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...

7年以上 前 | 0

| 採用済み

回答済み
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...

7年以上 前 | 0

回答済み
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 =...

7年以上 前 | 0

回答済み
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...

7年以上 前 | 2

| 採用済み

回答済み
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.

7年以上 前 | 0

回答済み
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 =...

7年以上 前 | 6

| 採用済み

回答済み
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...

8年以上 前 | 1

回答済み
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...

10年以上 前 | 0

回答済み
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 ...

10年以上 前 | 0

回答済み
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]...

10年以上 前 | 2

| 採用済み

回答済み
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...

10年以上 前 | 0

回答済み
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...

10年以上 前 | 0

回答済み
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...

10年以上 前 | 0

回答済み
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*...

10年以上 前 | 0

| 採用済み

回答済み
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: >...

10年以上 前 | 0

回答済み
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...

10年以上 前 | 1

回答済み
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, ...

10年以上 前 | 0

回答済み
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...

10年以上 前 | 0

回答済み
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,...

10年以上 前 | 0

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

10年以上 前 | 1

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

10年以上 前 | 0

回答済み
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...

11年弱 前 | 1

さらに読み込む