How to display values in array
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
puja dutta
am 26 Jun. 2014
Kommentiert: the cyclist
am 28 Jun. 2014
I calculated manhattan distance for two array i.e dwell time and meanDwellTime.
disp(dwellTime)
A=meanDwellTime
for i=1:1:3
p(i,1)=sum(abs(dwellTime(i)-a(i)))
kk=p(i,1)
end
But it gives output like
kk=0.0200
kk=0.0170
kk=0.0230
How can be it represented in array.
Like:- kk=0.0200 0.0170 0.0230
please help me.Its urgent
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Operators and Elementary Operations 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!