Implementing mathematical functions in Matlab

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

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Commercial & Off-Highway Vehicles in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by