FUNCTION FLIPLR,A ;+ ; QUESTION 2 ; You should write the necessary IDL statements ; to complete this function. After you have thoroughly ; tested the function and inserted your comments in ; the code, please use the simg211-submit tool to ; submit the results. ; ; By submitting this procedure for a grade you ; attest that this is your own work. ; ; PURPOSE ; If A is an array then B=FLIPLR(A) is an array in ; which the order of the columns has been reversed, but ; the order of the rows is unchanged. The examples ; below illustrate the functionality. ; ; Example 1. The array A is ; ; 0 1 2 ; 3 4 5 ; 6 7 8 ; ; Then the array B=FLIPLR(A) is ; ; 2 1 0 ; 5 4 3 ; 8 7 6 ; ; Example 2. The array A is ; ; 0 1 2 ; 3 4 5 ; 6 7 8 ; 3 5 7 ; ; Then the array B=FLIPLR(A) is ; ; 2 1 0 ; 5 4 3 ; 8 7 6 ; 7 5 3 ; ; Example 3 ; If A is a vector with 1 row, then B the reverse of A. ; ; A=[1,2,3,4] ; B=FLIPLR(A) ; will return B=[4,3,2,1] ; ; PROGRAMMED BY: ; DATE ;-