Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

How to retrive a function from an array data.

1 visualizzazione (ultimi 30 giorni)
Minghao Dong
Minghao Dong il 16 Ott 2019
Chiuso: MATLAB Answer Bot il 20 Ago 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!

Risposte (0)

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by