passing a 3d matrix to a function
Show older comments
hi............. can anyone help how pass a 3d array/matrix to a function i have the input to the function is papro which is 2x32x2 , type is double, i need to pass m x n x p matrix. i am using ccdf as my function to plot the graph. i am getting the error message as Undefined function 'colon' for input arguments of type 'double' and attributes 'full 3d real'.
Error in ccdf (line 21)
range=min(x):step:max(x);
Error in mimo_pts (line 98)
[cy,cx]=ccdf(papro,0.1);
Accepted Answer
More Answers (1)
Categories
Find more on Array Geometries and Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!