query about using a function

조회 수: 3 (최근 30일)
Dhanashree
Dhanashree 2014년 1월 19일
댓글: Amit 2014년 1월 19일
I have code for a function like we have inbuilt function in matlab.I mean that the code resembles the code that written for in biult matlab functions like plot stem etc...How am i suppose to use that function in my program??? i have attached the code which i got....how am i suppose to use it....??

답변 (2개)

Amit
Amit 2014년 1월 19일
편집: Amit 2014년 1월 19일
I dont see the file attached. However, once you open that function in matlab, you'll see something like tyhis on the first line:
function [a,b] = function_name(x,y,z) % function name will be different
Here, x,y,z are the inputs and a and b are the outputs.
You can use the function as:
[m,n] = function_name(x,y,z);
Just make sure that this function's .m file is in the same folder that you're in.
  댓글 수: 1
Dhanashree
Dhanashree 2014년 1월 19일
please have a look at file i have attached and tell me have am i suppose to use it....i have attached the file now........

댓글을 달려면 로그인하십시오.


Dhanashree
Dhanashree 2014년 1월 19일
i have attached the file....tell me how am i suppose to use this file....
  댓글 수: 1
Amit
Amit 2014년 1월 19일
type help rp_extract
it shows how to use for a batch music files or a single file.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 File Operations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by