>> 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'.

 채택된 답변

Michael Haderlein
Michael Haderlein 2015년 2월 13일

0 개 추천

The function's name is "hist" for plotting and "histc" for only getting the values.

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Histograms에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by