Feeds
提问
Why do I get an error message for below code? Output argument "C" not assigned?
The argument "C" definitely is assigned!! function [ C ] = C_Stumpf(z) if z > 0 C = 1; elseif z < 0 C = -1; ...
10 years 前 | 1 个回答 | 0
1
个回答提问
When a function is invoked, how do you supress the "ans = ... " output? I have a semicolon on every single line in the function and yet I still get the "ans" output!
I wrote a MATLAB function that finds a root and then prints out the results to the command window using fprintf. After it is inv...
10 years 前 | 1 个回答 | 0
