why mupad picewise function is bugged ?
1 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
采纳的回答
Sally Al Khamees
2016-12-23
If you have R2016b, you can just use the piecewise function:
Here is an example:
1 个评论
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!