How to define a time period for my code?
Afficher commentaires plus anciens
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 commentaires
Image Analyst
le 29 Déc 2012
Modifié(e) : Image Analyst
le 29 Déc 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
le 29 Déc 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
le 30 Déc 2012
Jan
le 30 Déc 2012
@Ara: Much better now! Thanks.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Matrix Indexing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!