Info

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

Not enough input arguments

2 views (last 30 days)
Sam
Sam on 7 Nov 2014
Closed: MATLAB Answer Bot on 20 Aug 2021
rho = 1.724*3.2884*1E-8;
D=0.127*0.03937*92^((36-AWG)/39); %error is on this line
DF = D/12;
A = (pi/4)*DF^2;
Rperfoot = rho/A;
D
Rperfoot
end
  1 Comment
Adam
Adam on 7 Nov 2014
Please format your code using the {} Code block and give enough information for people to understand what you are asking and what your inputs and functions are.
The error in the question title suggests you are calling a function, but unless AWG is a function I don't see one. If AWG is a function then you are calling it with no arguments.
Whilst that is valid syntax (for calling a function with no arguments) I personally prefer to always use '()' for a function call even with no arguments.

Answers (0)

Community Treasure Hunt

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

Start Hunting!