Feeds
답변 있음
Specific number of 1s in a 0s - 1s matrix
Thank you very much for your replies ppl
Specific number of 1s in a 0s - 1s matrix
Thank you very much for your replies ppl
6년 초과 전 | 0
질문
Specific number of 1s in a 0s - 1s matrix
I want to create a NxN matrix or random 1s and 0s so that in every row can appear 2 - two 1s and N-2 0s or k-1 same in every row...
6년 초과 전 | 답변 수: 3 | 0
3
답변질문
matlab table from for loops
for iter = 1:2 Num_of_Banks = 4 Initial_Capitals = [ randi([0 100],Num_of_Banks,1) ] Total_initial_caps = sum(Initial_C...
6년 초과 전 | 답변 수: 1 | 0
1
답변답변 있음
How to change 0 to 1 and update a matrix
Thank you very much Matlab version 2016a (that was the problem)
How to change 0 to 1 and update a matrix
Thank you very much Matlab version 2016a (that was the problem)
6년 초과 전 | 0
질문
How to change 0 to 1 and update a matrix
clc clear all close all b1 = [10; 20 ; 30 ; 40]; A = [0 20 0 10 ; 20 0 30 0 ; 0 30 0 10 ; 20 0 10 0]; s = size(b1); x = ra...
6년 초과 전 | 답변 수: 2 | 0

