How to define a time period for my code?
Mostrar comentarios más antiguos
Hi Everybody,
I wrote a code to convert the azimuth and elevation angel to latitude and longitude and plot in circle symbol. I had two problems; 1- The column of my time (time1) start from 0-24h(for one day)and I want to read it just the period time 22-10, it means I do not want to read and plot the period time between 10-22. 2- I would like someone look at my code to make me sure it's correct. When I plot different data the figures doesn't much different which is a bit weird. Could you please help me?
Happy New Year to all of you!
6 comentarios
Image Analyst
el 29 de Dic. de 2012
Editada: Image Analyst
el 29 de Dic. de 2012
You can paste your code in, then put a blank line in front of it, highlight it and click the "{ } Code" icon. This will format it correctly. You don't need to double space your code to get it to show up on different lines, just highlight and click {}Code.
You would make it easier for someone to help you if you uploaded your data file. http://www.mathworks.com/matlabcentral/answers/7924-where-can-i-upload-images-and-files-for-use-on-matlab-answers
Ara
el 29 de Dic. de 2012
@Ara: The additional blank line after each line of code still reduces the readability. Some of the comment lines look strange, while commented code is confusing only in a forum.
I've struggled with "90.-el1" also, because it looks almost like 90.0e-11.
Ara
el 30 de Dic. de 2012
Jan
el 30 de Dic. de 2012
@Ara: Much better now! Thanks.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Matrix Indexing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!