Rules | Recent posts | topic RSS | Search | Register  | Log in

Basic question in MATLAB.

 
Post new topic  Reply to topic    EDAboard.com Forum Index -> PC Programming and Interfacing
Author Message
mazdaspring



Joined: 18 Feb 2008
Posts: 50
Helped: 1


Post06 May 2008 5:42   Basic question in MATLAB.

How to call "function" to use in a program?

e.g. I am doing ofdm simulation and I have to make a function of "adding" into my program. So I do another m-file of this function. but how can I call this function to use in my main program?.

anybook that i can learn to be able to do this?
Back to top
samuraign



Joined: 18 May 2006
Posts: 111
Helped: 6


Post01 Jun 2008 4:23   Basic question in MATLAB.

just like in C make one more function and call in your main.

more over u have lots and lots of inbuilt functions which u can use directly,for example in ur case(OFDM) ifft/fft etc....
Back to top
Post new topic  Reply to topic    EDAboard.com Forum Index -> PC Programming and Interfacing
Page 1 of 1 All times are GMT + 2 Hours


Abuse
Administrator
Moderators
topic RSS 
sitemap