Any Ideas How can I write this correctly?
Show older comments
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 Comments
Image Analyst
on 29 Nov 2019
Looks right to me. Are you sure you're not supposed to using the radian version?
Ahmed Abo Sriea
on 29 Nov 2019
Edited: Ahmed Abo Sriea
on 29 Nov 2019
darova
on 29 Nov 2019
You lost the dot "./"
Find it
Answers (0)
Categories
Find more on Common Operations 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!