I am struggling with a structural health monitoring project. I'm expected to code the RMSD between two signals (one reference signal and another signal calculated by a sensor).
I did a first attempt but it didn't work. I'm a beginner at matlab so maybe my mistake is dumb but I would appreciate any help or clue. This is my code :
RMSd = 
time = 1:1:1;
positions = 1:1:2;
for i = time
for j = positions
RMSd(i,j) = sqrt(sum((time(i).probewith(:,j)-time(i).probewithout(:,j)).^2)/sum(time(i).probewithout(:,j).^2));
With the file "probewithwithout" (means probe with crack and without crack), I have this in which I stored my data in the form of vectors :
I'm so confused I don't even know what I don't know anymore.
Thanks in advance!