Info

此问题已关闭。 请重新打开它进行编辑或回答。

Plotting functions

1 次查看(过去 30 天)
WONG SIAN
WONG SIAN 2011-2-18
关闭: MATLAB Answer Bot 2021-8-20
2. Plotting functions (a) Create a variable t that takes values from to with step size . Let , and .
Then do the followings: • Plot and versus t in separate figures. • Plot and versus t in the same figure. Please use different colour for each graph. Label individual graph.
Divide a figure in two by using the subplot command, then plot and in the upper part and in the lower part (all plots versus t).
(b) Create an index sequence n (step = 1) ranging from -10 to 10 and make a stem plot of as a function of n.
For all plots label both the x and y axes and add suitable titles.
  1 个评论
Daniel Armyr
Daniel Armyr 2011-2-18
Please. When asking homework questions, at least have the cortesy to remove the question number and make sure that the newlines are included.

回答(1 个)

Matt Tearle
Matt Tearle 2011-2-18
MATLAB Answers is a place you can get help from the user community on specific MATLAB questions. It is not intended as a place to have strangers do your homework for you. (You might also want to check with your instructor about their policy on such practices -- I suspect it is not approved.)
If you want help with homework, that's fine, but:
  1. show what you have done so far
  2. ask a specific question about either specific MATLAB syntax/constructs, or general guidance (such as "what functions should I look at to achieve [result]")
If you need help with the very basics of MATLAB, the answers to this question have many suggested resources.

Community Treasure Hunt

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

Start Hunting!

Translated by