Info
此问题已关闭。 请重新打开它进行编辑或回答。
Can someone help me with the code to plot this
1 次查看(过去 30 天)
显示 更早的评论
Can someone tell me how to plot this function on matlab. Every time I input the function and try plotting, the graph does not look right.

2 个评论
John D'Errico
2017-7-6
Show what you tried. Otherwise, you are just asking us to do your homework for you.
回答(1 个)
Walter Roberson
2017-7-6
x = linspace(0,1);
4 个评论
Les Beckham
2017-7-7
You should check your parentheses also. As written, you are taking the square root of the entire expression instead of just the sin^2(x) portion.
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!