Lubos Plechac
Followers: 0 Following: 0
統計
All
Feeds
質問
Max vector find without function max
I have problem with finding max number in vector without max function, I know that I can use max but without that? Normally I ...
2年以上 前 | 1 件の回答 | 0
1
回答質問
Need matrix or vector with 1,0,1,0,1,0.........
clc;clear n = 5 A = ones(n) a = reshape(A,1,25) % I reshape matrix to vector I think that is easy to understand. I dont know...
2年以上 前 | 2 件の回答 | 0
2
回答質問
A function that counts the number of zeros in a vector
D = ones(1,20); for i = 1:20; if mod(i,2) == 0; D(i) = 0; end end --------- D = [ 1 0 1 0 1...
2年以上 前 | 3 件の回答 | 0