How to plot individual A-Scans from the Tx element and Rx element numbers from FMC data.
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I have a Matrix, it is 16384 x 1308.
This is 16384 rows and 1308 columns.
The rows are all amplitudes and the columns are all discrete time intervals. (each time interval is 20ns)
The rows are all A-Scans from a 128 ultrasonic transducer.
I assume that:
Row 1 = Tx1 Rx1
Row 2 = Tx1 Rx2
Row 3 = Tx1 Rx3
#
#
#
Row 128 = Tx1 Rx128
Row 129 = Tx2 Rx1
Row 130 = Tx2 Rx2
#
#
Row 16384 = Tx128 Rx128
I can plot each row number without any problem, e.g.
I would like to be able to ask the user to input the Tx element number and then the Rx element number and the plot the appropriate row number.
Any ideas?
0 Kommentare
Antworten (1)
Ajay Pattassery
am 23 Jul. 2020
Let Tx holds the Tx element number and Rx holds Rx element number.
Also assume the given matrix of dimension 16384 x 1308 as aScanMatrix.
modIndex = (Tx-1)*128 + Rx;
aScan = aScanMatrix(modIndex,:);
plot(aScan);
0 Kommentare
Siehe auch
Kategorien
Mehr zu Parametric Spectral Estimation finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!