Graphing the sine graph
古いコメントを表示
Hey Guys, I am currently learning how to use Matlab and I have a problem that I am struggling with. I am struggling to graph the function y = sin^2(t) on the interval t ∈ [0,2π]. Can you please help me this?
5 件のコメント
Dyuman Joshi
2024 年 2 月 29 日
編集済み: Dyuman Joshi
2024 年 2 月 29 日
Please share the code you have written yet and state the issue you are facing.
Voss
2024 年 2 月 29 日
The syntax for y = sin^2(t) in MATLAB is
y = sin(t).^2
Hope that helps.
Sam Chak
2024 年 2 月 29 日
First things first, make sure to bookmark the Help Center, and then search for the keyword 'plot'. You will find the relevant information at this URL: https://www.mathworks.com/help/matlab/ref/plot.html.
It's always a good idea to start by searching in the Help Center before seeking technical assistance, unless the problem is highly specific and no relevant examples can be found.
Dakalo
2024 年 2 月 29 日
Les Beckham
2024 年 2 月 29 日
If you are just getting started with Matlab, I would highly recommend that you take a couple of hours to go through the free online tutorial: Matlab Onramp
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Graphics Performance についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!