Implementing mathematical functions in Matlab

10 vues (au cours des 30 derniers jours)
alwayslearning
alwayslearning le 29 Juin 2019
Modifié(e) : Stephen23 le 29 Juin 2019
How can I implement y=e*logx and sin^2 (30) + cos^2(30) in Matlab?
Trig2.PNG
Trig1.PNG

Réponse acceptée

Stephen23
Stephen23 le 29 Juin 2019
Modifié(e) : Stephen23 le 29 Juin 2019
>> x = 1.2;
>> y = exp(log(x))
y = 1.2000
>> sind(30).^2 + cosd(30).^2
ans = 1

Plus de réponses (0)

Catégories

En savoir plus sur Commercial & Off-Highway Vehicles dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by