Community Profile

photo

Harold Meggs


Aktiv seit 2015

Statistiken

  • Thankful Level 1

Abzeichen anzeigen

Content Feed

Anzeigen nach

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

etwa 8 Jahre vor | 0

Frage


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

etwa 8 Jahre vor | 2 Antworten | 0

2

Antworten