How to solve an equation with a variable that has multiple values?

I am a learner and trying to solve one problem. I have values of
w=13122.25,
s=16.16,
p=1.225 and
relation
C=2w/(p*v^2*s).
I have values of v=(20,30,40,50,60,70,75)
and wanted to plot a graph of changing values of v with C. Please help.

Réponses (1)

Hey, you need to use the point operator:
C=2*w./(p*v.^2*s)
link for more information.

Catégories

En savoir plus sur Mathematics dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by