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

digital image processingimage processingMATLABsignal processing

i need a program to find 5 4 3 2 1 0 -1 -2 -3 -4 -5

Best Answer

a = [5:-1:-5];
disp(a);
Related Question