Info
此问题已关闭。 请重新打开它进行编辑或回答。
Plotting functions
2 次查看(过去 30 天)
显示 更早的评论
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
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
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:
- show what you have done so far
- 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.
0 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!