필터 지우기
필터 지우기

if and for loop

조회 수: 2 (최근 30일)
adarsh
adarsh 2018년 1월 8일
How to write a program for the following statements:
Cpv=0 if vi is less than equal to 10
15
Cpv=(1/15)(Vi^2-100) if vi is more than 10
i=1
Cpp=0 if Pj is greater than or equal to 18
50
Cpp=(18-Pj) if Pj is less than 18
j=1
kindly help me out. Thanks in advance

답변 (0개)

카테고리

Help CenterFile Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by