フィルターのクリア

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

3 ビュー (過去 30 日間)
ajeet verma
ajeet verma 2017 年 7 月 12 日
回答済み: sasi rekha 2021 年 5 月 31 日
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 Center および File ExchangeAudio and Video Data についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by