Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Plotting functions

1 Ansicht (letzte 30 Tage)
WONG SIAN
WONG SIAN am 18 Feb. 2011
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
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 Kommentar
Daniel Armyr
Daniel Armyr am 18 Feb. 2011
Please. When asking homework questions, at least have the cortesy to remove the question number and make sure that the newlines are included.

Antworten (1)

Matt Tearle
Matt Tearle am 18 Feb. 2011
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