full width, half max
이전 댓글 표시
I am trying to get full width half max from a plot. I have attcahed the plot and codes. I found an error "Index exceeds the number of array elements. Index must not exceed 1". How can I solve it? Please help.
댓글 수: 1
From the error message it is clear that x has only one element. From the code it is clear that you expect x to have at least as many elements as y1 has (which is evidently more than 1, given the error).
The first step to solving this problem would be for you to investigate why x doesn't have as many elements as you thought.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Specialized Power Systems에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
