필터 지우기
필터 지우기

MY QUESTION IS I WANT TO FIND THE MAXIMUM NO. FROM GIVEN DATA SET USING MATLAB CODE.

조회 수: 1 (최근 30일)
I am new in this field i cannot understand how to do that type of calculations.please help me.as early as possible!!!!!!!!!!!!!!
  댓글 수: 1
Jan
Jan 2012년 7월 25일
편집: Jan 2012년 7월 25일
"As early as possible!!!" is not the perfect tone, when you want to encourage volunteers to help you. Are you aware that the UPPERCASE STYLE mean shouting in a forum? A much better idea would be to explain any details of the problem, e.g. what exactly a "data set" is.
Some other details steal only the time of the readers: Of course you want Matlab code, because this is a Matlab forum. The answer will be the same if you are new or experienced.

댓글을 달려면 로그인하십시오.

채택된 답변

Jan
Jan 2012년 7월 25일
See: doc max

추가 답변 (1개)

Wayne King
Wayne King 2012년 7월 25일
편집: Wayne King 2012년 7월 25일
x = randn(1000,1);
[maxval,I] = max(x);
maxval gives the maximum value and I gives which element of the vector that maximum occurs at.
If you do
>>doc max
you will see the help for this function.

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by