Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

a question on matlab code

Status
Not open for further replies.

bunti

Member level 1
Joined
Jun 3, 2011
Messages
35
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,488
i just want some help in defining a function with more than one variable.I tried the code below but it is giving an error...plz let me know what is the mistake.
function(r,s)=fn(x,y)
r=2*x;
s=3*y;
 

what is the error you are getting?
 

Function definitions are not permitted in this context.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top