infinity in an inequality for input in a function?

1 Ansicht (letzte 30 Tage)
Jehan Alsulaiman
Jehan Alsulaiman am 19 Mär. 2019
Kommentiert: Jehan Alsulaiman am 19 Mär. 2019
x = 0:0.5:inf
y = 1:-0.5:inf
I am trying generally to plot in 3D
and the values of x and y are the in the inequality above
but I didn't know how to translate x >= 1 means infinity
does it actually means infinity?
  1 Kommentar
Torsten
Torsten am 19 Mär. 2019
0 <= x,y <= 1
means that x as well as y are numbers in the interval [0,1].
I don't know how infinity comes into play here.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

KSSV
KSSV am 19 Mär. 2019
x = 0:0.05:1 ; % x = linspace(0,1,100) ;
y = 0:-0.05:1 ; % y = linspace(0,1,150) ;
[X,Y] = meshgrid(x,y) ;
mesh(X,Y)
  1 Kommentar
Jehan Alsulaiman
Jehan Alsulaiman am 19 Mär. 2019
x's maximum is not 1
and y should the least it should be 1 and less but not necessarily zero

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Graphics Objects 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!

Translated by