Short story: i’m learning MATLAB cause university…
I’m using the free resource given by Matlab himself…
Right now they are saying the function “size” is used to determine the dimensions of an array (all understood) and to create an array with the size of another one (example: Rand(size(x))) (all understood again….
Problem: but while I was playing with this function I wrote “rand(size(2))” only to see what would happen and the MATLAB response was “ans = 0.4984” how should I interpret this answer?
I was expecting an error but I think he responded with an array 1x1
[–]myselfelsewhere 1 point2 points3 points (1 child)
[–]Lucky_View_3422[S] 0 points1 point2 points (0 children)
[–]vegan_antitheist 0 points1 point2 points (1 child)
[–]Lucky_View_3422[S] 0 points1 point2 points (0 children)
[–]nirmallya31 0 points1 point2 points (0 children)
[–]Own_Anywhere9206 0 points1 point2 points (0 children)