Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

How to retrive a function from an array data.

1 vue (au cours des 30 derniers jours)
Minghao Dong
Minghao Dong le 16 Oct 2019
Clôturé : MATLAB Answer Bot le 20 Août 2021
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!

Réponses (0)

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by