Info

This question is closed. Reopen it to edit or answer.

How to retrive a function from an array data.

1 view (last 30 days)
Minghao Dong
Minghao Dong on 16 Oct 2019
Closed: MATLAB Answer Bot on 20 Aug 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!

Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!

Translated by