Piecewise function. Dont know x

IMG_1796.jpg
IMG_1797.jpg
Screen Shot 2019-11-06 at 9.30.06 PM.png

3 Kommentare

JAKE WISNIEWSKI
JAKE WISNIEWSKI am 7 Nov. 2019
The first two are the question being asked. Thats the work that I have done so far, but I am confused as to what I should do becuase there is no x value given.
Walter Roberson
Walter Roberson am 7 Nov. 2019
Duplicate question. You should merge it with your earlier questions on the same topic.
JAKE WISNIEWSKI
JAKE WISNIEWSKI am 7 Nov. 2019
I deleted the previous question because it seemed like the information provided was not clear enough.

Antworten (1)

Walter Roberson
Walter Roberson am 7 Nov. 2019

0 Stimmen

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)

Diese Frage ist geschlossen.

Tags

Gefragt:

am 7 Nov. 2019

Geschlossen:

am 20 Aug. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by