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

Respuestas (1)

John D'Errico
John D'Errico el 10 de Feb. de 2016
Editada: John D'Errico el 10 de Feb. de 2016

0 votos

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 comentario

Emil Eterovic
Emil Eterovic el 10 de Feb. de 2016
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.

Iniciar sesión para comentar.

Etiquetas

Preguntada:

el 10 de Feb. de 2016

Comentada:

el 10 de Feb. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by