Feeds
回答済み
Need help selecting the max of array A, then selecting corresponding array B
[maxpe,index] = max(pe); countrynameMAX=cn{index}; fprintf('\n The country with the highest percentage of wind energy is...
Need help selecting the max of array A, then selecting corresponding array B
[maxpe,index] = max(pe); countrynameMAX=cn{index}; fprintf('\n The country with the highest percentage of wind energy is...
13年以上 前 | 0
質問
Need help selecting the max of array A, then selecting corresponding array B
n=input('How many countries will be evaluated? ') for k=1:1:n %cn=country name cn(k)={input('Enter Country na...
13年以上 前 | 4 件の回答 | 0
