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!

Respuestas (0)

La pregunta está cerrada.

Productos

Etiquetas

Preguntada:

el 16 de Oct. de 2019

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by