why mupad picewise function is bugged ?

2 ビュー (過去 30 日間)
timo
timo 2015 年 1 月 1 日
コメント済み: Walter Roberson 2016 年 12 月 23 日
I have pw(t):= piecewise([x > 0 and x < 1, 1], [Otherwise, 0])
When I try to evaluate: pw(1/2) it returns pw(1/2)... I wonder if the function is bugged Thanx

採用された回答

Sally Al Khamees
Sally Al Khamees 2016 年 12 月 23 日
If you have R2016b, you can just use the piecewise function:
Here is an example:
  1 件のコメント
Walter Roberson
Walter Roberson 2016 年 12 月 23 日
Different piecewise functions: the user was asking about use while running in a MuPAD notebook.

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by