compare images 2 signal and indentify difference
    5 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    Shruthimol
 el 13 de Ag. de 2022
  
    
    
    
    
    Editada: Walter Roberson
      
      
 el 18 de Ag. de 2022
            I need to compare outputs of ultrasonic scan of one with no damage to one with damage. The results are in image form and I used a graph digitizer to extract the graph and has saved it as a csv file. 
I have absolutely no basis in matlab or any other cording enviornments but i was able to generate a plot of the signals. 
na=readmatrix('Default Dataset.csv');
x= na(:,1);
y=na(:,2);
na2=readmatrix('Default Dataset (1).csv');
x1= na2(:,1);
y1=na2(:,2);
plot (x,y);
hold on
plot (x1,y1)
I tried comparing the same as imgaes but it doesnt give any desired results
When trying to create a signal, it says the data intervals are irregular and I'm stuck at this point. Is there another way to proceed forward and compare the peaks of the graphs ?
0 comentarios
Respuesta aceptada
  Image Analyst
      
      
 el 13 de Ag. de 2022
        Mathworks had a seminar/demo of this using Deep Learning to look at spectrograms of ECG signals.  Maybe you could apply that but you'd need dozens or hundreds of signals that were labeled as normal or defective.
Lots more hits here:
3 comentarios
  Image Analyst
      
      
 el 15 de Ag. de 2022
				Sounds like you have some data collection to do and some work to do.
  Walter Roberson
      
      
 el 15 de Ag. de 2022
				
      Editada: Walter Roberson
      
      
 el 18 de Ag. de 2022
  
			Assuming that you have a 2D array Signal that has one column for each distinct signal (so time proceeds with increasing rows), and assuming you know the sample rate in Hz:
dt = 1/Sample_Rate;   %or assign dt directly if you know it
nsamp = size(Signal,1);
timevec = (0:nsamp-1).' * dt;
time_and_Signal = [timevec, Signal];
writematrix(time_and_Signal, 'NameOfCSVFileGoesHere.csv');
Más respuestas (0)
Ver también
Categorías
				Más información sobre Transforms en Help Center y File Exchange.
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


