Help with matlab example

My code is in the attachment,not the whole thing but the part where the error starts. as you can see,i get those two error messages. now the thing is,this code works for a different set of data,but the only difference between this set and the previous one is the size and the name of it. but that shouldnt matter,and dont know how to fix this. Does anybody knows how to

回答 (1 件)

John D'Errico
John D'Errico 2016 年 2 月 10 日
編集済み: John D'Errico 2016 年 2 月 10 日

0 投票

You have not actually given us your data. I'm not sure why not, as it would be trivial to attach a .mat file. A picture in thus case is not that useful.
BUT READ THE ERROR MESSAGE. Apparently time2 (in the second case) does not contain a set of distinct, increasing (or monotonically decreasing) values.
So we cannot fix it. Only you can fix it, especially since we are not privy to your data.

1 件のコメント

Emil Eterovic
Emil Eterovic 2016 年 2 月 10 日
yeah i dont know either.sorry.here are the files.first one is the code which doesnt work,and the other is where the data is stored.

サインインしてコメントする。

質問済み:

2016 年 2 月 10 日

コメント済み:

2016 年 2 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by