how to write in matlab (x = 0<=x<=pi/8

6 views (last 30 days)
aYOUB aLI
aYOUB aLI on 26 Oct 2020
Answered: Walter Roberson on 26 Oct 2020
how to write in matlab (x = 0<=x<=pi/8)

Answers (1)

Walter Roberson
Walter Roberson on 26 Oct 2020
syms x
assume(0<=x & x<= sym(pi)/8)
maybe. Or perhaps
x=0;
x<=x<=pi/8
which is pretty unlikely to be useful in practice, but is one possible interpretation of the unexplained syntax.

Tags

Community Treasure Hunt

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

Start Hunting!