Easy Substitution (variable)

2 views (last 30 days)
Niklas Kurz
Niklas Kurz on 26 Jun 2020
Commented: Niklas Kurz on 27 Jun 2020
Actually this may be a really easy one, but I don't know what to search for, so here I just ask: I've got the equation
delta =
((dv^2*v^2)/(v^2 - w^2) + (dw^2*w^2)/(v^2 - w^2))^(1/2)
Now I assigned values to each variable
v = 3.83;
etc. But if I now type in "delta" in command window, matlab shows the equation again even if I assigned values. How to compute it directly?

Accepted Answer

KSSV
KSSV on 26 Jun 2020
delta = subs(delta,v)
  1 Comment
Niklas Kurz
Niklas Kurz on 27 Jun 2020
Many thanks seems like a secret thing if u're not involved.

Sign in to comment.

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!