Hi.
I have a problem where I need to run two index parameters at one time.
For example, I need p to go from 1:21, but I also need an index n to run from -10:10 for each value of p. So when p=1, n =-10 etc
How do I do this?

댓글 수: 1

KSSV
KSSV 2017년 11월 17일
What's the necessity to make a loop index negative?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

제품

태그

질문:

2017년 11월 17일

댓글:

2017년 11월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by