photo

Michael King


self

Active since 2015

Followers: 0   Following: 0

Message

Statistics

MATLAB Answers

2 Questions
0 Answers

RANK
213,935
of 301,454

REPUTATION
0

CONTRIBUTIONS
2 Questions
0 Answers

ANSWER ACCEPTANCE
100.0%

VOTES RECEIVED
0

RANK
 of 21,287

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 174,632

CONTRIBUTIONS
0 Problems
0 Solutions

SCORE
0

NUMBER OF BADGES
0

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Discussions

AVERAGE NO. OF LIKES

  • Thankful Level 1

View badges

Feeds

View by

Question


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 ago | 1 answer | 0

1

answer

Question


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 ago | 1 answer | 0

1

answer