Multiple inputs of two-variable functions

I want to define a function as f=(y+x), where x and y are the divisors of 3600. For example, a =3600,1800... and b=1,2.... I can get the function to work for a single value of a and b, but not for multiple inputs. What command am I missing out?

댓글 수: 1

Steven Lord
Steven Lord 2017년 3월 21일
Show the exact code you've written for your function and describe what happens when you pass in non-scalar inputs. [Does it give you a different answer than you expect? Does it throw an error? If so what is the full text of that error message?]

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Logical에 대해 자세히 알아보기

질문:

2017년 3월 21일

댓글:

2017년 3월 21일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by