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 years 前 | 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 years 前 | 4 个回答 | 0
