Apply element-by-element binary operation 'fun' to two arrays (A and B).
Tell me the slope
Project Euler: Problem 8, Find largest product in a large string of numbers
What is the distance from point P(x,y) to the line Ax + By + C = 0?
Generate a random matrix A of (1,-1)
Equal to their cube
Number of lattice points within a circle
Change the sign
The almost-birthday problem.
Number of vertices of a hypercube
MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Opportunities for recent engineering grads.
New to MATLAB?
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office