I need help for below matlab code to display the graph, using matlab 2015a.
clear all; close all;
syms k t
I_0=1; mu=1.5; lambda=0.3; gamma=0.1;
t=0:1:20;
y=I_0symsum((-lambda t.^(mu)).^k/(2.^((k(k-1)mu)/2)factorial(k mu)),k,[0, Inf]) + gammasymsum(((-lambda).^(k-1)(t.^(kmu)))/(2.^((k(k-1)*mu)/2)factorial(k mu)),k,[1 Inf]);
plot(t,y,'-+');
grid on
xlabel('time t');
ylabel('I(t)');
The graph is not displayed.
Editing the code as below produces the desired result.