Thanks. One thing which I would find handy would be for you to put up the code that you're typing in the description. I bet heaps of other people are trying to type and listen at the same time poorly (like me!). Good video though - enjoyed your lyrical energy.
meshgrid is more used to plot 3D graphics, example [X,Y] = meshgrid(0:3,0:4), when you define the function at Z it gives you a graphic where the x axis goes from 0 to 3 and the y axis goes from 0 to 4, right?
Sorry for being rude but please learn matrix multiplication. You could've simply done something like this: a = [4, 7, 10]; b = [12, 16, 18, 20, 54]; % Take transpose of 'a' and matrix multiply by 'b' c = a' * b; % Result will be disp(c);
+Tushar Srivastava Sure, the benefits of meshgrid aren't as obvious looking at multiplication. It's much more valuable when you're doing something like exponents. a = [4, 7, 10]; b = [12, 16, 18, 20, 54]; [newA, newB] = meshgrid(a,b) c = newA .^ newB
+Tushar Srivastava Sorry for being rude but you should listen to what she is trying to explain here ! She just tore the meshgrid apart , laid x and y grids next to each other and explained them piece by piece. I stumbled into this video after trying to understand what meshgrid really does. Spend almost 1/2 hour on mathworks.com, tried different things on command window to understand the purpose of meshgrid. BTW anyone taking matlab knows that you can't multiply 1X3 and 1X5 matrix.did specify elementwise multiplication