Implementing mathematical functions in Matlab

10 views (last 30 days)
How can I implement y=e*logx and sin^2 (30) + cos^2(30) in Matlab?
Trig2.PNG
Trig1.PNG

Accepted Answer

Stephen23
Stephen23 on 29 Jun 2019
Edited: Stephen23 on 29 Jun 2019
>> x = 1.2;
>> y = exp(log(x))
y = 1.2000
>> sind(30).^2 + cosd(30).^2
ans = 1

More Answers (0)

Categories

Find more on Commercial & Off-Highway Vehicles 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!