issue with sequaring sec of matrix
1 次查看(过去 30 天)
显示 更早的评论
Dear all
Please I need help with an issue of secuaring every sec(Phi)which i need in a part of my code
Phi=0:(2*pi)/360:(340*pi)/180;
ff=sec(Phi).^2
the resulted matrix has all its elements zeros that multiplied in e+33
your help is higly appreciated
2 个评论
Walter Roberson
2013-11-18
Your code would probably be clearer if you used linspace() instead of an increment.
Are you trying to work in degrees or radians? What is your maximum value in radians ?
回答(1 个)
Walter Roberson
2013-11-18
At the command prompt give the command
format long g
and then have another look at the values in ff.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spline Postprocessing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!