my code is running but it doesnt show the exponential graph .it shows nothing at the graph.
Afficher commentaires plus anciens
filename = 'datacollect2.xlsx';
num = xlsread(filename,'B1:B60');
w = num/60;
N = length(num);
t = 1/w;
s = xlsread(filename,'B3:B3');
xt= s;
g = 1/N;
i = xt + num;
h = xt/ i ;
ln=@log;
q=ln(h);
zeta = g * q;
j= 1-power(zeta,2);
wd = w*power(j,1/2);
r = bsxfun(@rdivide,w,wd);
k = zeta*r;
l=sin(wd);
u=k*l;
m=bsxfun(@plus,cos(wd),u);
n= - zeta*w;
plot (1 - exp(n)*(m))
Réponse acceptée
Plus de réponses (1)
Matt J
le 14 Juin 2017
Inspect the plotted expression from the command line.
>> disp( 1 - exp(n)*(m) )
Maybe it doesn't contain anything that can be plotted.
Catégories
En savoir plus sur Axis Labels 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!