how i can write sine square vs intensity graph?
이전 댓글 표시
답변 (1개)
The square of the sine of an angle:
A = pi/4;
sa = sin(A)
ssa = sin(A).^2
Note that trying to put the ^2 between the function name and the parentheses wouldn't work. I'm not going to run this because the syntax error would prevent MATLAB from running any code in this Answer.
% ssaWouldNotWork = sin.^2(A)
카테고리
도움말 센터 및 File Exchange에서 Just for fun에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
