Community Profile

photo

Harold Meggs


Active since 2015

Statistics

  • Thankful Level 1

View badges

Content Feed

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...

mehr als 6 Jahre 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: ...

mehr als 6 Jahre ago | 2 answers | 0

2

answers