How to get a simplified output answer as a vector columnv from a definite integration loop?
Afficher commentaires plus anciens
I have this code for definite integration, where it is supposed to give 23 values as an o/p, but instead of giving values in rounded up digits it is giving out huge values unsolved..
function [ Int ] = Integrationoverzones( A,l,m,R,Is,t,Ccell)
%
for i=1:1:size(t)
Intensity = Is*(exp(Ccell/3600)*(50-R));
double Int;
Int = int((Intensity*2*pi*R /A ), l,m);
where Ccell is the column vector input, and my outputs look like this : (10396344664475805277532160*pi)/4958531319053791 all the 20+ values, Please help.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Mathematics 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!