defining a method, the purpose of the brackets
Show older comments
while we are defining a method we write like this
function [ ] = methodsName ()
statement or statements
end
what are the purposes of [ ] and ()
Can you help me? Thanks.
Accepted Answer
More Answers (0)
Categories
Find more on Get Started with MATLAB 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!