How do I fix the following code?
조회 수: 1 (최근 30일)
이전 댓글 표시
Anuradha Bhattacharya
2015년 2월 13일
댓글: Anuradha Bhattacharya
2015년 2월 13일
>> 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
채택된 답변
Michael Haderlein
2015년 2월 13일
The function's name is "hist" for plotting and "histc" for only getting the values.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Histograms에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!