What should be a very simple bit of code is causing me lot's of trouble, X = find(I0_data == I0_unique(i,1));
1 回表示 (過去 30 日間)
古いコメントを表示
I believe that the code is correct as it has worked for me on many occasions, but I am having trouble with this data set and for the life of me I cannot work out why.
I've attached the data set and the matlab .m file in a zip file.
I understand the error that has been generated. The code is stopping short because the index is out of bounds, the Index is generated by matlab and should never become out of bounds.
Please could someone take a look at it if they get a chance.
Thanks in advance, Matt
The error: ??? Attempted to access I0_data(31137,2); index out of bounds because size(I0_data)=[31136,12].
Error in ==> Weibull_output at 10 Y (u,1) = I0_data (u,2) - I0_data (X(1,1),2);
2 件のコメント
Jan
2011 年 6 月 13 日
Please take the time to isolate the relevant part of the code and post it directly. I will not download a zip file.
採用された回答
その他の回答 (2 件)
参考
カテゴリ
Help Center および File Exchange で Sources についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!