Mean returns Inf value why?
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
TAPAN PATEL
am 19 Jun. 2020
Kommentiert: TAPAN PATEL
am 19 Jun. 2020
hello all,
I am doing mean raw wise by using :
M = mean(Mag1_Normal_Aligned_full,2);
I have attached 'Mag1_Normal_Aligned_full.mat' file, I do not understand why matlab returns Inf value using mean command.
0 Kommentare
Akzeptierte Antwort
Rasul Khan
am 19 Jun. 2020
It's because there is atleast one Inf value in each row. You can check with this script
for i = 1 : 101
if any(isinf(Mag1_Normal_Aligned_full(i , :)))
disp(i);
end;
end;
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu MATLAB Report Generator 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!