How to import data to produce velocity image data
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Attached to this post is the data file, and I need help achieving these objectives:
- Import SRAS_freq.txt and produce a velocity image of the data.
- You will need to separate the x and y and frequency information from the loaded array.
- The x and y axis spacing is different so the image is not square even though there are 200x200 data points, you should take this into account when creating the images.
- The Acoustic wavelength used for the scan was 24 microns.
I am unaware on how to start this and possible technqiues to use. How would I approach this? all possible avenues are welcome.
Many Thanks to all
7 comentarios
Respuestas (1)
Image Analyst
el 5 de Feb. de 2022
Try this:
D = load('SRAS_freq.txt');
x = D(:, 1);
y = D(:, 2);
xData = [min(x(:)), max(x(:))]
yData = [min(y(:)), max(y(:))]
Frequency = reshape(D(:,3), 200, []);
imshow(Frequency, [], 'XData', xData, 'YData', yData);
axis('on', 'image')
impixelinfo;
5 comentarios
Ratty419
el 8 de Feb. de 2022
What I mean is that both images have patched spots form -40 to -5 on along the x-axis..... Is it possible to remove these patches to ensure a uniform image along this stretch? Thanks.
Richard Smith
el 9 de Feb. de 2022
If you bring your code to class and ask for assitance, you wont need to find solutions online.
Remember all code will go through turnitin to check it is your own work!
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!