On 2/10/2012 6:27 PM, sayantani wrote:
> In the following code,i need 1 lakh samples in the array mydata.
What is a lakh?
...
> ....how can i use the data in mydata into another .m file
> for further processing.
Pass the result back as the result of the function to the calling
function/workspace.
Read "Getting Started" on Programming, m-files, etc., etc., ...
>
> t = [ 1 : 1 : 500]; % Time Samples
> f1=10000; % Input Signal Frequency
> f2=20000;
> f3=30000;
> f4=f2+f3;
> f5=f1+f3;
> f6=f4+f2;
...
See response today on yesterday's thread on generating data "according
to sine function with changing period". Gives example w/ a set of fixed
frequencies; yours is no different other than the combination
frequencies in addition.
--