Needing to increment a number within a sin function
이전 댓글 표시
I am creating a matrix which has a sin function in the diagonal. It starts with 10sin(0) and goes on to 10sin(1), 10 sin(2)... all the way to 10sin(19). How can I make this happen?
답변 (1개)
댓글 수: 2
John D'Errico
2022년 7월 15일
Would that be a "sin"ful answer? :)
Star Strider
2022년 7월 15일
Quite definitely!
카테고리
도움말 센터 및 File Exchange에서 Operating on Diagonal Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!