photo

gbg


Last seen: 3 years ago Active since 2022

Followers: 0   Following: 0

Statistics

MATLAB Answers

2 Questions
0 Answers

RANK
272,212
of 301,344

REPUTATION
0

CONTRIBUTIONS
2 Questions
0 Answers

ANSWER ACCEPTANCE
50.0%

VOTES RECEIVED
0

RANK
 of 21,239

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 174,068

CONTRIBUTIONS
0 Problems
0 Solutions

SCORE
0

NUMBER OF BADGES
0

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Discussions

AVERAGE NO. OF LIKES

  • Thankful Level 1

View badges

Feeds

View by

Question


Error using trapz. Point spacing must be a scalar specifying uniform spacing or a vector of x-coordinates for each data point.
Plot_X = 0:0.01:1; Per = quantile(SUSC_MO,1:-0.01:0); for i = 1:101 if i <101 Plot_Y(i) = sum(CAT_M(SUSC_MO>=Per(101-i))...

3 years ago | 1 answer | 0

1

answer

Question


Why do I get "Array indices must be positive integers or logical values" error ?
Plot_X = 0:0.01:1 Per = quantile(SUSC,1:-0.01:0) for i = 1:101 if i <101 Plot_Y(i) = sum(CAT(SUSC>=Per(100-i))) ...

3 years ago | 1 answer | 0

1

answer