The answer is not correct in solving the problem.
Show older comments
Hello! I have a signal in the range of length from 1 from 900 (the values themselves are floating from 20 to 826), and its depth is in the same range of length (depth from 15 to 24).
dimensions: siglan 1x900
depth1x902
d 1x901
first couple of answers : 30192,1351351351(signal(1)=816, depth(1)=37 metr, d(1)=38); 30932,1351351351 30303,1351351351
[d,signal]=min(DataNoSignal02022003)
for chek = 1:length(d)-1
nomsignal1{i}=(signal(i)*depth(i)-2./depth(i)); % Signlan number at -2 meter depth
end
nomsignal1(1) =3.0192e+04
and should 771
1 Comment
Bjorn Gustavsson
on 10 Jul 2019
If you want a result of 771 from some combination of 816 37 38 your equation for nomsignal is clearly wrong. You have for those components: 816*37 - 2/37. You better fix that expression. Further your loop-variable are chek, and as written you will only get an assignement for the value of i that i has when entering the loop.
Answers (0)
Categories
Find more on Resizing and Reshaping Matrices in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!