How do I fix the following code?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Anuradha Bhattacharya
am 13 Feb. 2015
Kommentiert: Anuradha Bhattacharya
am 13 Feb. 2015
>> filename = load('proctrial_1.lvm'); >> timedata = filename(:,1); >> xvoltage = filename(:,2); >> plot(timedata,xvoltage) >> histplot = histogram(timedata, xvoltage); which gives an error, Undefined function 'histogram' for input arguments of type 'double'.
0 Kommentare
Akzeptierte Antwort
Michael Haderlein
am 13 Feb. 2015
The function's name is "hist" for plotting and "histc" for only getting the values.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Histograms 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!