[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Extraction of elements of an array inside the other array
From: |
GK19 |
Subject: |
Re: Extraction of elements of an array inside the other array |
Date: |
Sun, 5 Apr 2020 09:33:27 -0500 (CDT) |
period (t1, t2, t3) = time (p)
where t1 , t2, t3 are n dimensional arrays say
a = (1,3,4,6,8,9,0,5,4,)
b = (3)
c = (4,56,7,8,5,1)
t1 = length(a)
t2 = length(b)
t1 = length(c)
Since I have a function called period it gives some random value based on
the parameters that have been passed to t1, t2, t3.
output -- period (5,1,2) = 12.
what I'm trying is to do trace it back
i have time as 12, just by looking at the output i want to trace the value
of t1 that has been passed.
so my output so look like 8, which is the 5th element of a.
how can i do that ? kindly help
--
Sent from: https://octave.1599824.n4.nabble.com/Octave-General-f1599825.html
- Extraction of elements of an array inside the other array, GK19, 2020/04/04
- Re: Extraction of elements of an array inside the other array, Nicholas Jankowski, 2020/04/04
- Re: Extraction of elements of an array inside the other array, GK19, 2020/04/05
- Re: Extraction of elements of an array inside the other array, Francesco Potortì, 2020/04/05
- Re: Extraction of elements of an array inside the other array, GK19, 2020/04/05
- Re: Extraction of elements of an array inside the other array, Nicholas Jankowski, 2020/04/05
- Re: Extraction of elements of an array inside the other array,
GK19 <=
- Re: Extraction of elements of an array inside the other array, GK19, 2020/04/05
- Re: Extraction of elements of an array inside the other array, Thomas D. Dean, 2020/04/05