Plotting a graph of y for a given value of x
1 回表示 (過去 30 日間)
古いコメントを表示
Please I've been trying to plot the graph above but I'm finding it difficult.. please can someone help
1 件のコメント
回答 (2 件)
henry tochukwu
2022 年 7 月 27 日
編集済み: dpb
2022 年 7 月 27 日
3 件のコメント
dpb
2022 年 7 月 27 日
Well, you only getter better by working at it -- just being handed solutions doesn't help the learning process nearly as much -- and learning to use the documentation is part of learning as well as is the precept that homework should be the student's effort.
We'll prompt and coach and answer specific Q?, but handing out complete homework solutions isn't the purpose of the forum and is rarely done -- at least until there's been significant effort shown to solve the problem.
henry tochukwu
2022 年 7 月 27 日
1 件のコメント
dpb
2022 年 7 月 27 日
編集済み: dpb
2022 年 7 月 27 日
For a nicer-appearing plot (when you finally get the right values), you'll want more x values than what default colon spacing gives -- look at linspace for one alternative, or if it isn't precluded by the not-shown instructions on the homework assignment page, ezplot
Oh, and please format the code with the code button so it's readable/executable...
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!