Select xlim max-value
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Cliff Karlsson
am 18 Sep. 2018
Bearbeitet: Jan
am 18 Sep. 2018
Is it possible to return the xlim max directly with a oneliner? Rigth now I am using:
xmax = xlim
max = xmax(2)
I am guessing that I can access the max-value directly but I can't figure out how.
0 Kommentare
Akzeptierte Antwort
Fangjun Jiang
am 18 Sep. 2018
max() is a function. Don't use it as a variable name.
xmax=max(xlim)
0 Kommentare
Siehe auch
Kategorien
Mehr zu Loops and Conditional Statements finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!