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 CenterFile Exchange에서 Introduction 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