command window work space only
Show older comments
Write a function that takes numeric data as its input argument and prints a message to the Command Window stating if the number is positive, or negative, or 0. This function should transfer an output value to the Workspace ONLY when the input value is negative How do i attempt this question?
3 Comments
KALYAN ACHARJYA
on 1 Sep 2018
Edited: KALYAN ACHARJYA
on 1 Sep 2018
Interesting Question, Void and Output pass parameter simultaneously, I am also waiting for a response from experts.
Greg
on 1 Sep 2018
This sounds like a homework question. We are not here to do it for you. If you want help, try to provide the following:
- What have you tried so far?
- What went wrong with it?
- Which parts specifically do you understand?
- Which parts specifically are you having trouble with?
melissa tan
on 1 Sep 2018
Accepted Answer
More Answers (0)
Categories
Find more on Loops and Conditional Statements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!