Easy Substitution (variable)

1 visualizzazione (ultimi 30 giorni)
Niklas Kurz
Niklas Kurz il 26 Giu 2020
Commentato: Niklas Kurz il 27 Giu 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?

Risposta accettata

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

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Programming in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by