MATLAB Answers

angle conversion using for/while loops

6 views (last 30 days)
Gerrit Foellmer-Kravchenko
Answered: SaiDileep Kola on 23 Apr 2020
Let Y = [30, 45, 60,90] be a vector representing data measurements measured with units ofdegrees. Using for/while loops, convert the vector of degrees to a vector of radians.
I have trouble understanding the notation for for/while loops. Could someone walk me through for the example given above?

  1 Comment

dpb on 12 Apr 2020
Show us your attempt and where you get stuck, specifically...hints/corrections will be bound to follow. But, "not so much" if you're not contributing...

Sign in to comment.

Answers (1)

SaiDileep Kola
SaiDileep Kola on 23 Apr 2020
you can learn about them in the documentation from mathworks here.


Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!