Can someone help me with the code to plot this
정보
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
이전 댓글 표시
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.
Ziv Melamed
2017년 7월 6일
편집: Walter Roberson
2017년 7월 6일
답변 (1개)
Walter Roberson
2017년 7월 6일
x = linspace(0,1);
댓글 수: 4
Ziv Melamed
2017년 7월 6일
Walter Roberson
2017년 7월 6일
You missed a .^2 inside the exp()
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.
Walter Roberson
2017년 7월 7일
Good catch, Les.
이 질문은 마감되었습니다.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!