Not enough input arguments.
2 次查看(过去 30 天)
显示 更早的评论
Hi everyone, I'm a beginner of Matlab user. I have a problem for carving a dinosaur demo. This is ">> voxels = makevoxels(85) Error using spacecarving.makevoxels (line 12) Not enough input arguments." Please help me how to resolve this problem. Thanks.
0 个评论
采纳的回答
KSSV
2017-8-10
编辑:KSSV
2017-8-10
I guess you are talking about this function: http://in.mathworks.com/matlabcentral/fileexchange/26160-carving-a-dinosaur?focused=6787518&tab=function
You are not providing all the inputs..you need to call the function like below:
xlim = [0 1] ;
ylim = [0 1] ;
zlim = [0 1] ;
N = 100 ;
voxels = findpeak(xlim,ylim,zlim,N) ;
You need to provide xlim, ylim, zlim which are 1x2 arrays and a number N.
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!