I write the Symbolic Math Toolbox documentation.

Answered

substitute value for variable

You shouldn't overwrite |I1|. Overwriting |I1| will not automatically substitute for it in |Wo1|. Instead, remove |I1 = trace(B)...

substitute value for variable

You shouldn't overwrite |I1|. Overwriting |I1| will not automatically substitute for it in |Wo1|. Instead, remove |I1 = trace(B)...

2 years ago | 1

| accepted

Answered

Passing the numeric matrix to symbolic function

You're not passing any arguments to the function. To learn that, see <https://www.mathworks.com/help/matlab/ref/function.html?s_...

Passing the numeric matrix to symbolic function

You're not passing any arguments to the function. To learn that, see <https://www.mathworks.com/help/matlab/ref/function.html?s_...

2 years ago | 0

| accepted

Answered

Solving a third order ODE in MATLAB

Do you not get this warning? If you got it, was the warning clear? Warning: Unable to find explicit solution. > In dsol...

Solving a third order ODE in MATLAB

Do you not get this warning? If you got it, was the warning clear? Warning: Unable to find explicit solution. > In dsol...

2 years ago | 0

| accepted

Answered

The output is displayed as syntax error for the question ilaplace(4/sˆ3,s,t).Tried a lot but couldn't figure it out.Please help.

Your "ˆ" is wrong. Should be "^". Try ilaplace(4/s^3,s,t)

The output is displayed as syntax error for the question ilaplace(4/sˆ3,s,t).Tried a lot but couldn't figure it out.Please help.

Your "ˆ" is wrong. Should be "^". Try ilaplace(4/s^3,s,t)

2 years ago | 2

| accepted

Answered

Absolute Newb: How Does Licensing Work?

You definitely need to contact support: <https://www.mathworks.com/support/contact_us/index.html?s_cid=ans2doc_man_link https://...

Absolute Newb: How Does Licensing Work?

You definitely need to contact support: <https://www.mathworks.com/support/contact_us/index.html?s_cid=ans2doc_man_link https://...

3 years ago | 1

Answered

Beginner: Can help with my code? it seems it does not work, and I always get an error.

It looks like |p| and |q| and maybe other inputs are text inputs. Symbolic functions need symbolic input. Use |str2sym|: <https:...

Beginner: Can help with my code? it seems it does not work, and I always get an error.

It looks like |p| and |q| and maybe other inputs are text inputs. Symbolic functions need symbolic input. Use |str2sym|: <https:...

3 years ago | 0

Answered

How to use poly2list for specific variables?

In general, I don't recommend using MuPAD commands, as the note at the top says. Is |coeffs| helpful? >> syms x y p =...

How to use poly2list for specific variables?

In general, I don't recommend using MuPAD commands, as the note at the top says. Is |coeffs| helpful? >> syms x y p =...

3 years ago | 0

Answered

symbolic vector to usual vector.

You don't need a loop to sum |g|. Just use |sum|. Then use |vpasolve| instead of |solve| to get numeric results. Easy. |vpaso...

symbolic vector to usual vector.

You don't need a loop to sum |g|. Just use |sum|. Then use |vpasolve| instead of |solve| to get numeric results. Easy. |vpaso...

3 years ago | 0

Answered

How can I solve This system of ODEs?

You have numeric values in your equations, so solve this numerically. Try |ode45|: <https://www.mathworks.com/help/matlab/ref/...

How can I solve This system of ODEs?

You have numeric values in your equations, so solve this numerically. Try |ode45|: <https://www.mathworks.com/help/matlab/ref/...

3 years ago | 0

Answered

Error: Conversion to double from sym is not possible.

To plot symbolic expressions, use |fplot| instead of |plot|. See <https://www.mathworks.com/help/symbolic/fplot.html?s_cid=ans2d...

Error: Conversion to double from sym is not possible.

To plot symbolic expressions, use |fplot| instead of |plot|. See <https://www.mathworks.com/help/symbolic/fplot.html?s_cid=ans2d...

3 years ago | 0

Answered

Add more latex packages for latex interpreter in Matlab

Googling found If not then see <http://www.mathworks.com/matlabcentral/answers/52340-why-do-deep-paths-in-usepackage-cause-te...

Add more latex packages for latex interpreter in Matlab

Googling found If not then see <http://www.mathworks.com/matlabcentral/answers/52340-why-do-deep-paths-in-usepackage-cause-te...

3 years ago | 0

Answered

How do I solve an equation with multiple symbolic variables with a condition on one of the variables?

You should first solve the equation for |c| and then use that value to find |fs|. Also, your problem sounds like an optimizat...

How do I solve an equation with multiple symbolic variables with a condition on one of the variables?

You should first solve the equation for |c| and then use that value to find |fs|. Also, your problem sounds like an optimizat...

3 years ago | 0

Answered

Hi Guys! Please can someone help me plot JUST THE REAL (not imaginary) part of this two differential equations, here is my code? Thank you.

Use the |real| function. fplot(real(I_1Sol)) Does this give the expected plot? Karan.

Hi Guys! Please can someone help me plot JUST THE REAL (not imaginary) part of this two differential equations, here is my code? Thank you.

Use the |real| function. fplot(real(I_1Sol)) Does this give the expected plot? Karan.

3 years ago | 0

Answered

fplot differentiated symbolic equation

You made a simple mistake. You used anonymous functions instead of symbolic functions. Declare a symbolic function using sy...

fplot differentiated symbolic equation

You made a simple mistake. You used anonymous functions instead of symbolic functions. Declare a symbolic function using sy...

3 years ago | 0

Answered

Help with iterating to get one final value with for loop

Do not use |f1(i)|. Instead use subs: <https://www.mathworks.com/help/symbolic/subs.html?s_cid=ans2doc_man_link https://www.math...

Help with iterating to get one final value with for loop

Do not use |f1(i)|. Instead use subs: <https://www.mathworks.com/help/symbolic/subs.html?s_cid=ans2doc_man_link https://www.math...

3 years ago | 0

Answered

another way to compile my guide without using the matlab compiler?

I think you're looking for |matlabfunction| : <https://www.mathworks.com/help/symbolic/matlabfunction.html?s_cid=ans2doc_man_lin...

another way to compile my guide without using the matlab compiler?

I think you're looking for |matlabfunction| : <https://www.mathworks.com/help/symbolic/matlabfunction.html?s_cid=ans2doc_man_lin...

3 years ago | 0

| accepted

Answered

Error using plot ; spectrum of function

Plot symbolic functions by using |fplot|. fplot(h) See <https://www.mathworks.com/help/symbolic/fplot.html?s_cid=ans2doc...

Error using plot ; spectrum of function

Plot symbolic functions by using |fplot|. fplot(h) See <https://www.mathworks.com/help/symbolic/fplot.html?s_cid=ans2doc...

3 years ago | 0

Answered

fplot keeps returning horizontal line

You are plotting a constant |Atom_Cf_P| with value |1.8235e-78|. A horizontal line is the expected output. What were you expecti...

fplot keeps returning horizontal line

You are plotting a constant |Atom_Cf_P| with value |1.8235e-78|. A horizontal line is the expected output. What were you expecti...

3 years ago | 0

| accepted

Answered

how to calculate the maximum value of a function assigned to a 'sym'?

The |max| function does not find the maximum of a symbolic function. Please read the doc on |max|. Your question is a math qu...

how to calculate the maximum value of a function assigned to a 'sym'?

The |max| function does not find the maximum of a symbolic function. Please read the doc on |max|. Your question is a math qu...

3 years ago | 1

Answered

Strange ilaplace answer?????

Use "vpa" to solve for the roots and get a result in terms of "t" as documented here: <http://www.mathworks.com/help/symbolic/ro...

Strange ilaplace answer?????

Use "vpa" to solve for the roots and get a result in terms of "t" as documented here: <http://www.mathworks.com/help/symbolic/ro...

3 years ago | 3

Answered

How to solve an ODE with a function symbolically?

You could start with the existing doc on solving ODEs symbolically: * <https://www.mathworks.com/help/symbolic/solve-a-single...

How to solve an ODE with a function symbolically?

You could start with the existing doc on solving ODEs symbolically: * <https://www.mathworks.com/help/symbolic/solve-a-single...

3 years ago | 0

Answered

How to calculate the equation with letter and variable

Use <https://www.mathworks.com/help/symbolic/subs.html?s_cid=ans2doc_man_link subs> to substitute values, as shown below. You on...

How to calculate the equation with letter and variable

Use <https://www.mathworks.com/help/symbolic/subs.html?s_cid=ans2doc_man_link subs> to substitute values, as shown below. You on...

3 years ago | 1

Answered

Why do I get an error when I use the GAMMAINC function with complex input in MATLAB 7.8 (R2009a)?

If you have the Symbolic Math Toolbox, use igamma. >> igamma(1,1+1i) ans = 0.1988 - 0.3096i See: <http://www.mathwork...

Why do I get an error when I use the GAMMAINC function with complex input in MATLAB 7.8 (R2009a)?

If you have the Symbolic Math Toolbox, use igamma. >> igamma(1,1+1i) ans = 0.1988 - 0.3096i See: <http://www.mathwork...

3 years ago | 0

Answered

I want to take an Equation as input like ax^2+bx+c =0 , Now I want to take the co-efficient. What will be the code?

You could try the <http://www.mathworks.com/help/symbolic/coeffs.html?s_cid=ans2doc_man_link coeffs> command. Note that coeffs a...

I want to take an Equation as input like ax^2+bx+c =0 , Now I want to take the co-efficient. What will be the code?

You could try the <http://www.mathworks.com/help/symbolic/coeffs.html?s_cid=ans2doc_man_link coeffs> command. Note that coeffs a...

3 years ago | 0

Answered

Attribution de licence disponible et modification de type de licence

Vous trouverez sur ce site <http://fr.mathworks.com/company/aboutus/contact_us/?s_cid=ans2doc_man_link http://fr.mathworks.com/c...

Attribution de licence disponible et modification de type de licence

Vous trouverez sur ce site <http://fr.mathworks.com/company/aboutus/contact_us/?s_cid=ans2doc_man_link http://fr.mathworks.com/c...

3 years ago | 0

| accepted

Answered

how to combine symbolics and if statement?

Piecewise is available starting 16b: <http://www.mathworks.com/help/symbolic/piecewise.html?s_cid=ans2doc_man_link http://www.ma...

how to combine symbolics and if statement?

Piecewise is available starting 16b: <http://www.mathworks.com/help/symbolic/piecewise.html?s_cid=ans2doc_man_link http://www.ma...

3 years ago | 2

Answered

How to use the Marcum-Q function as a symbolic function for vpaintegral.

Why do you need a variable-precision integration of this function starting frome "x"? The error is because the marcumq functi...

How to use the Marcum-Q function as a symbolic function for vpaintegral.

Why do you need a variable-precision integration of this function starting frome "x"? The error is because the marcumq functi...

3 years ago | 1

Answered

Help with symbolic toolbox

You do not need to declare "ess". And you don't use "ratio". So your first line is syms P S Z "assume" is not the right ...

Help with symbolic toolbox

You do not need to declare "ess". And you don't use "ratio". So your first line is syms P S Z "assume" is not the right ...

3 years ago | 1

| accepted

Answered

Integrate a piecewise function (Second fundamental theorem of calculus)

This is the same question as <http://www.mathworks.com/matlabcentral/newsreader/view_thread/347103?s_cid=ans2doc_man_link http:/...

Integrate a piecewise function (Second fundamental theorem of calculus)

This is the same question as <http://www.mathworks.com/matlabcentral/newsreader/view_thread/347103?s_cid=ans2doc_man_link http:/...

3 years ago | 1

Answered

Problem with ordinary differental equation

I think what you're asking is how to go from symbolic to numeric form? Use the "subs" function to substitute symbolic values wit...

Problem with ordinary differental equation

I think what you're asking is how to go from symbolic to numeric form? Use the "subs" function to substitute symbolic values wit...

3 years ago | 0

| accepted