Feeds
질문
How to use multiple outputs from function
function[x,y]=rowcolum(a,b) x=max(sum(a,2)); y=min(sum(b,1)); end how to write a code that will sum x+y in main scri...
대략 11년 전 | 답변 수: 2 | 0
2
답변질문
find all elements that can be devided with 5
i need to write function that takes one matrix and find all elements can be devided with 5 and replaces them with 5. in c++ for...
대략 11년 전 | 답변 수: 1 | 0
1
답변질문
I have a code but now sure how it works please help
[C,I]=max(sum(a,2)); can some body explain how variables C and I change in 3x3 matrix. thanks in advance
11년 초과 전 | 답변 수: 1 | 0
1
답변답변 있음
Max value of row in matrix and creating new matrix
i got it working like this. thanks for the help [C,I]=max(sum(a,2)); [C1,I1]=max(sum(b,2)); rezultat=[a(I,:);b(I1,:)];
Max value of row in matrix and creating new matrix
i got it working like this. thanks for the help [C,I]=max(sum(a,2)); [C1,I1]=max(sum(b,2)); rezultat=[a(I,:);b(I1,:)];
11년 초과 전 | 0
질문
Max value of row in matrix and creating new matrix
I want something like this matrixa=[12 33 44;26 59 14;15 99 54] matrixb=[26 89 95;23 54 12;2 54 43] and to get output like...
11년 초과 전 | 답변 수: 2 | 0
