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.

답변 (1개)

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

카테고리

도움말 센터File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

질문:

2020년 9월 18일

답변:

2020년 9월 18일

Community Treasure Hunt

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

Start Hunting!

Translated by