Hello. I have 2 very serious questions that I am confused. It is quite hurry.
1.) Suppose I got a plot, and I want to find its function. This plot below is taken from my book,
圖片參考:http://imgcld.yimg.com/8/n/HA00799676/o/701112170012113873412240.jpg
and this one by observed is a sin function, x[n] = c * sin( 2*pi*n / 6 )
c is just a constant, and the period is 2* pi / 6.
My question is, how do I know it is a sin function but not a cos function?
2.) Another plot taken from my book, and x[n]= (1/2) + (1/2)*(-1)^n
圖片參考:http://imgcld.yimg.com/8/n/HA00799676/o/701112170012113873412251.jpg
Are there any tips or ways for me to figure out what the function is ( x[n] = ? ) when I see plots ? Like if I see other plots, how do I figure out the x[n]. Give me an example please.
Thanks a lot. Your explanation will save my life.