Size information is inconsistent.

Hi,
Can some help with the following error?
Error using trirnd (line 48)
Size information is inconsistent.
Error in trirnd5 (line 54)
N20_N = trirnd(0.008,0.0115,0.015,10000);

댓글 수: 2

dpb
dpb 2015년 2월 19일
Your search - trirnd - did not match any documents.
What is the function/where did it come from? It isn't TMW-supplied.
Sad Grad Student
Sad Grad Student 2015년 2월 19일
Are you using any toolbox? You need to be more clear in your question.

댓글을 달려면 로그인하십시오.

답변 (1개)

Roger Stafford
Roger Stafford 2015년 2월 20일
편집: Roger Stafford 2015년 2월 20일

0 개 추천

In 'trirnd' you must have either three arguments or five, not four. If you want a column vector of 10000 elements, write:
N20_N = trirnd(0.008,0.0115,0.015,10000,1);
Either that or do a rewrite on the initial testing for 'trirnd'.

댓글 수: 1

Roger Stafford
Roger Stafford 2015년 2월 20일
I don't care for the coding I see in 'trirnd'. In my opinion the task should be much easier (and possibly more accurate) to accomplish than the method used in the 'trirnd' algorithm.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Annotations에 대해 자세히 알아보기

태그

질문:

2015년 2월 19일

댓글:

2015년 2월 20일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by