필터 지우기
필터 지우기

How do I fix the following code?

조회 수: 1 (최근 30일)
Anuradha Bhattacharya
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'.

채택된 답변

Michael Haderlein
Michael Haderlein 2015년 2월 13일
The function's name is "hist" for plotting and "histc" for only getting the values.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Histograms에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by