필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

How to draw an histogram?

조회 수: 1 (최근 30일)
Prince
Prince 2024년 4월 4일
마감: DGM 2024년 4월 4일
How do I draw an histogram knowing the frequency of all the individual elements in a 150x150 matrix appears using matlab?
  댓글 수: 3
Prince
Prince 2024년 4월 4일
Alright
DGM
DGM 2024년 4월 4일
Given that my answer has already been provided, I see no reason to keep it or to keep this thread. Other mods are welcome to tidy up the others, but I'm just going to close this one.

답변 (1개)

DGM
DGM 2024년 4월 4일
편집: DGM 2024년 4월 4일
See histogram() and histcounts()
A = randn(150,150); % normally distributed random numbers
histogram(A) % looks like a gaussian to me
There are many different options, but I'm just using defaults here. If you have specific bin edges or a preferred method of calculating bin locations, see the documentation for details on how to set that up.
  댓글 수: 1
Prince
Prince 2024년 4월 4일
Can you help me more details. I am still stucked.

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by