Learning Matlab from the beginning
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
René Gothe
le 26 Fév 2018
Réponse apportée : René Gothe
le 26 Fév 2018
Hello! .. I recently have started with Matlab, and I´m kind of stuck when it comes to how I approach tasks. And when it comes to searching for answers, it is hard to know exactly where to look. x) .. For example. I have two different matrix, 365 days is one and consumption is the other. I´m supose to plot a figure with all days on the x-axis, and the associated consumption on the Y-axis, just to see how it varies. But as I said. It is extremly frustrating when you don´t know how to start. Any advice?
3 commentaires
Stephen23
le 26 Fév 2018
Modifié(e) : Stephen23
le 26 Fév 2018
Do the introductory tutorials:
The MATLAB documentation explains different plotting functions, has working examples, so you could start by reading about different plotting functions. Do not make the beginner's mistake of jumping directly in to writing code: first learn about the tools you have available, understand any algorithms you want to implement, do some examples on paper,...
The MATLAB documentation is easy to navigate (the table of contents on the LHS consists clickable links), so why not start there?
Adam
le 26 Fév 2018
In this case it should be quite simple. Languages like Matlab generally use user-friendly words as their function names (some are obscure, but that will always be the case - that is when you ask others for advice).
In your case you say 'I'm supposed to plot a figure...' so you should easily understand from that to search for a function called 'plot'
doc plot
will lead you straight to your Matlab help, which is by far the best source of learning.
docsearch plot
is another alternative, especially if your search term is less likely to translate directly to a function name.
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!