Community Profile

photo

harshwardhan rathod


Oklahoma State University Stillwater

2017년부터 활동

Followers: 0   Following: 0

연락

통계

Feeds

보기 기준

질문


I am running a for loop for my program. however, I want to run the for loop until i have 10 non-zero values in the matrix A.
In the following program I want "nreps" equal to "c(A~=0, 2) = 10". How can I obtain that? function [iseed, time] = proble...

대략 7년 전 | 답변 수: 1 | 0

1

답변

질문


i am trying to add the value of a certain function to an array, but there seems to be some error. the code is as follows. could you please help? trying to store the value of Thetahat into A for every x.
function [inseed] = optsim (inseed, nreps) sum = 0; sum2 = 0; for x = 0:5:60 for j= 1:nreps ...

대략 7년 전 | 답변 수: 1 | 0

1

답변