Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
Math function and plotting
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi,
I'm trying to plot that function y. I have matrix 1x11 x, then I think I should have 1x11 y. But I don't know why I only have one value of y. Please tell me why I'm wrong. Thank you.

댓글 수: 0
답변 (1개)
James Tursa
2020년 3월 5일
You need to change that matrix divide operator / to an element-wise divide operator ./ with the dot.
댓글 수: 1
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!