Feeds
提问
Swapping the elements in a matrix
Hi everyone, I have a matrix : [0.8 0.7 0.9 0.5;0.6 0.4 0.9 0.7;0.8 0.5 0.6 0.5;0.8 0.6 0.5 0.4] I want to write a neste...
8 years 前 | 2 个回答 | 0
2
个回答提问
using index to assign an element
hello, I have this: hjj = [0.6 0.4 0.9 0.7;0.8 0.7 0.9 0.5;0.8 0.6 0.5 0.4;0.8 0.5 0.6 0.5]; [weighh,idx] = sort(-sum(h...
8 years 前 | 1 个回答 | 0
1
个回答提问
Flipping the rows in a matrix to rearrange according to the weighted sum of the row
Hello, I have a matrix A=[0.6 0.4 0.9 0.7;0.8 0.7 0.9 0.5;0.8 0.6 0.5 0.4;0.8 0.5 0.6 0.5] I want to rearrange the rows...
8 years 前 | 1 个回答 | 0

