my code is running but it doesnt show the exponential graph .it shows nothing at the graph.
Show older comments
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))
Accepted Answer
More Answers (1)
Matt J
on 14 Jun 2017
Inspect the plotted expression from the command line.
>> disp( 1 - exp(n)*(m) )
Maybe it doesn't contain anything that can be plotted.
Categories
Find more on Axis Labels 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!