Effacer les filtres
Effacer les filtres

Computing for a particular numerical value

2 vues (au cours des 30 derniers jours)
manish sharma
manish sharma le 10 Août 2012
Hi,
After using a solve command I can get the result as:
x =
(5941415241525099*R)/2251799813685248000 + 250
Now after second solve command, I can calculate the value of R as:
R =
75800
Now I want to compute x for this particular value of R. (If I am typing just "x" it displays the answer in terms of "R" only).
Any kind of help in this matter will be appreciated.
Thanks!

Réponse acceptée

Matt Fig
Matt Fig le 10 Août 2012
Modifié(e) : Matt Fig le 10 Août 2012
Use the SUBS command.
syms a x
s = solve(x^3 + a*x + 1)
a = 5;
subs(s)

Plus de réponses (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by