How to define function
古いコメントを表示
Hello!
Could you, please, suggest an answer:
How to define function f (x), which for x from -1 to 1, f (x) = 1; and outside these limits f (x) = 0.
Thank in advance!
3 件のコメント
Rik
2020 年 8 月 11 日
This is your homework. What have you tried so far? And do you want a normal (or anonymous) function, or a symbolic function?
Viktoriia Buliuk
2020 年 8 月 11 日
KSSV
2020 年 8 月 11 日
Show us your code.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!