Not enough input arguments.
Show older comments
I have this error in matlab..I want to know how to solve it please.Can anyone help me.
5 Comments
Torsten
on 26 Sep 2017
Please include the part of your code where the error occurs together with the complete error message.
Best wishes
Torsten.
Adam
on 26 Sep 2017
Pass in more arguments.
If you want more meaningful help ask a more meaningful question with details of what you are doing, code and how you are running the code and the exact error message.
At a guess you are probably running a function with the green 'Run' arrow that requires arguments so you need to call it from command line, another function or a script.
Jan
on 26 Sep 2017
@lakom Mariem: See How to ask a good question. Currently all information the readers got are, that you have called any command with too few inputs. Of course the only possible answer is: "Provide more inputs". But this is such obvious, that you should be able to find this answer by your own. And if you want to get a more specific answer, you have to provide any details.
lakom Mariem
on 26 Sep 2017
Edited: Stephen23
on 26 Sep 2017
Fine. And now post a copy of the complete error message to explain, which function is failing. How do you call this function? If you use the green arrow in the editor, no inputs are provide and the computations must fail.
Note that
CLB = segma_d - segma_e *(1/2*log(2))
and
C = (Segma_d_sim(k,alpha,ys,yd) - ...
Segma_e_sim(k,alpha,ys,yd,ye))/(2*log(2));
are not the same. The latter is:
CLB = (segma_d - segma_e) / 2 / log(2)
The same terms, but due to the different parentheses a completely different result.
It is some work to motivate you to post the required details. In German this is called: pulling someone the worms out of the nose. This can be improved.
Answers (0)
Categories
Find more on Linear Algebra in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!