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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 1 | 0
