Learning Matlab from the beginning

1 回表示 (過去 30 日間)
René Gothe
René Gothe 2018 年 2 月 26 日
回答済み: René Gothe 2018 年 2 月 26 日
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 件のコメント
Stephen23
Stephen23 2018 年 2 月 26 日
編集済み: Stephen23 2018 年 2 月 26 日
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
Adam 2018 年 2 月 26 日
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.

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

採用された回答

René Gothe
René Gothe 2018 年 2 月 26 日
Ok, thanks for the answers!

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by