full width, half max
Mostra commenti meno recenti
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 Commento
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.
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Specialized Power Systems in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
