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

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

2 years ago | 5

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

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

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

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

2 years 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 =...

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

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

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

2 years ago | 1

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

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.

3 years 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 =...

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

3 years ago | 4

| accepted

Solved

Triangle sequence

A sequence of triangles is constructed in the following way: 1) the first triangle is Pythagoras' 3-4-5 triangle 2) the s...

3 years ago

Solved

Find a Pythagorean triple

Given four different positive numbers, a, b, c and d, provided in increasing order: a < b < c < d, find if any three of them com...

3 years ago

Solved

Find out sum of all elements of given Matrix

Find out sum of all elements of given Matrix A=[1 2 3;4 5 6 ;7 8 9]; Answer must be: 45 *If you like this problem, pl...

3 years ago

Solved

Area of an equilateral triangle

Calculate the area of an equilateral triangle of side x. <<http://upload.wikimedia.org/wikipedia/commons/e/e0/Equilateral-tr...

3 years ago

Solved

Length of a short side

Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

3 years ago

Solved

merge two matrices together in one matrix

a= [1 2 3 4]; b=[5 6 7 8]; take the first column from matrix (a)and (b)then insert them in matrix (c) respectively, and so on;...

3 years ago

Solved

Sudoku square

We have a small Sudoku square, but one number is missing. x = [ 1 5 4 8 6 3 0 9 7 ] Make a function, wher...

3 years ago

Solved

Is this triangle right-angled?

Given any three positive numbers a, b, c, return true if the triangle with sides a, b and c is right-angled. Otherwise, return f...

3 years ago

Solved

Dimensions of a rectangle

The longer side of a rectangle is three times the length of the shorter side. If the length of the diagonal is x, find the width...

3 years ago

Solved

Area of an Isoceles Triangle

An isosceles triangle has equal sides of length x and a base of length y. Find the area, A, of the triangle. <<http://upload...

3 years ago

Solved

Words Count: A String Array Approach

Given an input character vector consisting of words, punctuation marks, white spaces, and possibly newline characters (\n), arra...

3 years ago

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

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

3 years ago | 1

Solved

Project Euler: Problem 10, Sum of Primes

The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. Find the sum of all the primes below the input, N. Thank you <http:/...

5 years ago

Solved

Length of the hypotenuse

Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<http://upload....

5 years ago

Solved

Is this triangle right-angled?

Given three positive numbers a, b, c, where c is the largest number, return *true* if the triangle with sides a, b and c is righ...

5 years ago

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

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

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

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

6 years 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]...

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

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

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

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

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

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

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

6 years 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*...

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

6 years 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: >...

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

6 years ago | 0