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

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

Minimize between vector and a single value

dsochor
5-Regular Member

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.

 

1 ACCEPTED SOLUTION

Accepted Solutions
RichardJ
19-Tanzanite
(To:dsochor)

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

dsochor
5-Regular Member
(To:RichardJ)

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.

Top Tags