Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Piecewise function. Dont know x

3 visualizaciones (últimos 30 días)
JAKE WISNIEWSKI
JAKE WISNIEWSKI el 7 de Nov. de 2019
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
IMG_1796.jpg
IMG_1797.jpg
Screen Shot 2019-11-06 at 9.30.06 PM.png
  3 comentarios
Walter Roberson
Walter Roberson el 7 de Nov. de 2019
Duplicate question. You should merge it with your earlier questions on the same topic.
JAKE WISNIEWSKI
JAKE WISNIEWSKI el 7 de Nov. de 2019
I deleted the previous question because it seemed like the information provided was not clear enough.

Respuestas (1)

Walter Roberson
Walter Roberson el 7 de Nov. de 2019
Establish a vector of definite x values. Use logical indexing
X = something definite
Y = nan(size(x));
Mask = x > something & x < something else
Y(Mask) = some vectorized expression in X(Mask)

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by