why mupad picewise function is bugged ?

7 Ansichten (letzte 30 Tage)
timo
timo am 1 Jan. 2015
Kommentiert: Walter Roberson am 23 Dez. 2016
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

Akzeptierte Antwort

Sally Al Khamees
Sally Al Khamees am 23 Dez. 2016
If you have R2016b, you can just use the piecewise function:
Here is an example:
  1 Kommentar
Walter Roberson
Walter Roberson am 23 Dez. 2016
Different piecewise functions: the user was asking about use while running in a MuPAD notebook.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by