cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can change your system assigned username to something more personal in your community settings. X

Minimize between vector and a single value

dsochor
10-Marble

Minimize between vector and a single value

Is it possible to create a minimize function comparing each entry of a vector to a single number and then outputting a vector with each entry being the smaller of the two valves? The attempts in the attached worksheets (Prime 3.1 and Mathcad 15) only find the minimum between the entire vector and single value instead of comparing them line by line.

 

ACCEPTED SOLUTION

Accepted Solutions
RichardJ
19-Tanzanite
(To:dsochor)

3 REPLIES 3
RichardJ
19-Tanzanite
(To:dsochor)

Thank you Richard! Can this es function be made into a function of c: es(c)?

RichardJ
19-Tanzanite
(To:dsochor)

Your function definition is fine. The solve block fails because there is no value of c that makes the sum equal to zero.

Announcements

Top Tags