photo

Harold Meggs


Active since 2015

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Answered
How do I find the two smallest values in varargin?
I have also tried this: Xs = sort(varargin); min2nd = Xs{1,2}; minVal=min(varargin); area=min2nd*m...

mer än 9 år ago | 0

Question


How do I find the two smallest values in varargin?
For example, the varargin input is 5,3,6 I want to multiply the the two lowest values, 5*3. I have tried this: ...

mer än 9 år ago | 2 answers | 0

2

answers