Needing to increment a number within a sin function
Ältere Kommentare anzeigen
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?
Antworten (1)
2 Kommentare
John D'Errico
am 15 Jul. 2022
Would that be a "sin"ful answer? :)
Star Strider
am 15 Jul. 2022
Quite definitely!
Kategorien
Mehr zu Operating on Diagonal Matrices finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!