Here's the question you clicked on:
mominanisar
how can i store values of in array using loop .i am making a program for convolution sum without using conv() cammand ..can anyone help me out?
my code is the following function a1 b1=input('Enter the length of 1st function') b2=input('Enter the length of 2nd function') for i=1:b1 c1=input('Enter the position of element of 1st function') c2=input('Enter the element of 1st function') end for i=1:b1 c3=input('Enter the position of element of 1st function') c4=input('Enter the element of 1st function') end stem(c1,c2) hold on stem(c3,c4) hold off end
check TheNewBoston youtube channel, choose your programming language of choice and look for the tutorial that teach that topic.. he always have a video or two for arrays..