Any Ideas How can I write this correctly?
Afficher commentaires plus anciens
can any one tell me how I can write this equation formula in matlab ?
I have tried writting the code myself but it keeps getting me double complex resuts !!
btw ( Theta ) is a set of angles.
and that was my code :
clear;
clc;
A=0.0106944*(theta-90);
a=4*(theta-85);
b=(cosd(theta)./cosd(85)).^a;
B=(1-0.254*b);
c=(theta./95.406).^(0.9775);
alpha=(A.*B)/(c-1);

3 commentaires
Image Analyst
le 29 Nov 2019
Looks right to me. Are you sure you're not supposed to using the radian version?
Ahmed Abo Sriea
le 29 Nov 2019
Modifié(e) : Ahmed Abo Sriea
le 29 Nov 2019
darova
le 29 Nov 2019
You lost the dot "./"
Find it
Réponses (0)
Catégories
En savoir plus sur Common Operations dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!