How to wrote theta as a matlab code
Show older comments
How to wrote theta as matlab code
for example 2sintheta
Accepted Answer
More Answers (2)
James Tursa
on 19 Oct 2017
Edited: James Tursa
on 19 Oct 2017
E.g.,
theta = pi/4;
result = 2*sin(theta); % <-- if theta is in radians
theta = 45;
result = 2*sind(theta); % <-- if theta is in degrees
RAVI Kumar
on 26 Jan 2021
1 vote
Thetha=pi/4
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!