function s = Fnkt(n)
syms k x
s = symsum(k,k,0,n);
s = 0;
Can somebody help me figure out, how do i filter out decimals ?
Fnkt(2) , then i will get 1+2=3
for negative numbers i want to get 0 .
But how do i get rid of decimals, for example Fnkt (2.5) or neg. decimals (-2.5) to get also a zero ?