How can i find layer number?? After calculating min(:) and max(:). I want to know layer number for layer calculation in Lakhs of layer.
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Triveni
am 20 Dez. 2015
Beantwortet: Walter Roberson
am 20 Dez. 2015
>> ta1
ta1(:,:,1) =
-0.0207
ta1(:,:,2) =
-0.0209
ta1(:,:,3) =
-0.0210
ta1(:,:,4) =
-0.0211
ta1(:,:,5) =
-0.0213
ta1(:,:,6) =
-0.0213
ta1(:,:,7) =
-0.0214
ta1(:,:,8) =
-0.0215
ta1(:,:,9) =
-0.0216
ta1(:,:,10) =
-0.0216
ta1(:,:,11) =
-0.0216
ta1(:,:,12) =
-0.0217
ta1(:,:,13) =
-0.0217
ta1(:,:,14) =
-0.0211
ta1(:,:,15) =
-0.0212
ta1(:,:,16) =
-0.0213
ta1(:,:,17) =
-0.0214
ta1(:,:,18) =
-0.0215
ta1(:,:,19) =
-0.0216
ta1(:,:,20) =
-0.0216
ta1(:,:,21) =
-0.0217
ta1(:,:,22) =
-0.0217
ta1(:,:,23) =
-0.0218
ta1(:,:,24) =
-0.0218
ta1(:,:,25) =
-0.0218
ta1(:,:,26) =
-0.0213
ta1(:,:,27) =
-0.0214
ta1(:,:,28) =
-0.0215
ta1(:,:,29) =
-0.0216
ta1(:,:,30) =
-0.0217
ta1(:,:,31) =
-0.0217
ta1(:,:,32) =
-0.0218
ta1(:,:,33) =
-0.0218
ta1(:,:,34) =
-0.0219
ta1(:,:,35) =
-0.0219
ta1(:,:,36) =
-0.0219
ta1(:,:,37) =
-0.0215
ta1(:,:,38) =
-0.0216
ta1(:,:,39) =
-0.0217
ta1(:,:,40) =
-0.0218
ta1(:,:,41) =
-0.0218
ta1(:,:,42) =
-0.0219
ta1(:,:,43) =
-0.0219
ta1(:,:,44) =
-0.0220
ta1(:,:,45) =
-0.0220
ta1(:,:,46) =
-0.0220
ta1(:,:,47) =
-0.0217
ta1(:,:,48) =
-0.0218
ta1(:,:,49) =
-0.0219
ta1(:,:,50) =
-0.0219
>> min(ta1)
ans =
-0.0220
>> max(ta1)
ans =
-0.0207
>>
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 20 Dez. 2015
[maxta1, maxidx] = max(ta1);
[minta1, minidx] = min(ta1);
That minidx and maxidx would be layer numbers.
However, I do not understand about Lakhs in this? Lahks I understand is 10^5 but you only have 50 layers. Are you looking for maxidx/10^5 ?
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!