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!
