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
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
2015-2-19
Are you using any toolbox? You need to be more clear in your question.
回答(1 个)
Roger Stafford
2015-2-20
编辑:Roger Stafford
2015-2-20
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
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 中查找有关 Entering Commands 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!