Community Profile

photo

MD JAHIDUL HAQUE KHAN


Last seen: 3 years ago Active since 2020

Followers: 0   Following: 0

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Feeds

View by

Question


How to ignore negative indices or assign it to zero in a loop
x=[1 2 -1 -3 -4] h=[0 1 3] n=length(x) m=length(h) y=zeros(n,m) for i=1:n for j=1:m if i-j>0 ...

3 years ago | 1 answer | 0

1

answer

Question


Trouble giving decimal input
Hi, my code is as shown below, i tried as switch function instead of else if statement. However, the code is taking only integer...

3 years ago | 1 answer | 0

1

answer