![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/7690630_1522122787555_DEF.jpg)
harshwardhan rathod
Oklahoma State University Stillwater
Followers: 0 Following: 0
Statistics
3 Questions
0 Answers
RANK
280.373
of 292.713
REPUTATION
0
CONTRIBUTIONS
3 Questions
0 Answers
ANSWER ACCEPTANCE
0.0%
VOTES RECEIVED
0
RANK
of 19.933
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 147.879
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Question
suppose i have a matrix [1.22 0 2.33 3.444 1.222 0] and i want the solution to be the number of iterations between non zero values. the solution should be [1 2 1 1]
Z(xidx) = z; this is the vector that i have.
meer dan 7 jaar ago | 0 answers | 0
0
answersQuestion
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...
meer dan 7 jaar ago | 1 answer | 0
1
answerQuestion
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 ...
meer dan 7 jaar ago | 1 answer | 0