How to retrive a function from an array data.

Hi team, I have written the following code:
np=1000;
time=0;
Fs=1/0.8e-9;
tme=time(1)+[0:np-1]'/Fs;
X=50e-6*sin(2*pi*12e6*tme+39.2/180*pi);
Then, X is an array of data representing sine signal 50e-6*sin(2*pi*12e6*tme+39.2/180*pi) sampled at Fs=1/0.8e-9 frequency.
My question is if I was given of X array in matlab or .csv, can I use matlab to find the math function (in this case, it is a sine function)?
Thanks!

답변 (0개)

이 질문은 마감되었습니다.

제품

질문:

2019년 10월 16일

마감:

2021년 8월 20일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by