필터 지우기
필터 지우기

how to Write a program that prints out the numbers 5 through -5 in decreasing order.

조회 수: 3 (최근 30일)
i need a program to find 5 4 3 2 1 0 -1 -2 -3 -4 -5

채택된 답변

ES
ES 2017년 7월 12일
편집: ES 2017년 7월 12일
a = [5:-1:-5];
disp(a);

추가 답변 (1개)

sasi rekha
sasi rekha 2021년 5월 31일
I want a program to print 1+3+5+7 and compute it's sum

카테고리

Help CenterFile Exchange에서 Audio and Video Data에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by