Hi,
I was programming here and I stopped at a thing. I'll try to explain.
I have a vector A = [10, 20, 30, 40], than I want to the computer tell me the directly lower number of the vector for reported 'x'.
like so:
x = 23
ans = 20.
but i also want him to tell me the row and column of this number.
type so
x = 23
so , i = 2 ; j = 1
i =column
j=row
i know how to do this in MATLAB language but,
how can i do this in Objective-C language ??????
Thanks
I was programming here and I stopped at a thing. I'll try to explain.
I have a vector A = [10, 20, 30, 40], than I want to the computer tell me the directly lower number of the vector for reported 'x'.
like so:
x = 23
ans = 20.
but i also want him to tell me the row and column of this number.
type so
x = 23
so , i = 2 ; j = 1
i =column
j=row
i know how to do this in MATLAB language but,
how can i do this in Objective-C language ??????
Thanks