help-octave
[Top][All Lists]
Advanced

[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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]