Feeds
提问
Newton's method - how to make the computational performance faster?
I have used a while loop in the algorithm. Once the absolute error is less than the specified tolerance (tol), the while loop st...
13 years 前 | 1 个回答 | 0
1
个回答提问
How to make an efficient if-statement-expression that when identifying a 1x3 vector consisting only of either 6's,7's,8's or 9's gives the same statement?
I could you run following if statement vec=[9 9 9]; if vec(1:3)==9 | vec(1:3)==8 | vec(1:3)==7 | vec(1:3)==6 disp('Ident...
13 years 前 | 2 个回答 | 0
2
个回答提问
How to display an expression when the user enters a negative number as a first input in a while loop that stops until the user enters a negative number?
The expression could be 'No average'. I have tried to add an if-statement but I did not succeed. % Prompts the user to ent...
13 years 前 | 3 个回答 | 0
3
个回答提问
Error: Not enough input argument (line 6)
Why do I get this error message when running following script? function outtype = findargtype (inputarg) % findargtype d...
13 years 前 | 1 个回答 | 0
