Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

Recent Activity

Richard submitted a Comment to Problem 58. Tic Tac Toe FTW

Test suite problem. The first test calls my function twice, with different values for (a). To test this y function starts and endes with diagnostics: ---- function wins = ticTacToe(a) disp('a=') disp( a ) ... wins = unique( wins) end ------ The first test result is: ------ %% a = [ 1 0 0 0 -1 0 -1 0 1]; b = [0]; out = ticTacToe(a); assert(isequal(out(:), b(:))) a= 1 0 1 0 -1 0 -1 -1 1 wins = 4 8 a= 1 0 0 0 -1 0 -1 0 1 wins = Empty matrix: 0-by-1 Assertion failed. -----

20 minutes ago

jkal submitted Solution 725463 to Problem 5. Triangle Numbers

1 hour and 25 minutes ago

Pritesh Shah submitted Solution 725459 to Problem 42548. Luggage delivery

1 hour and 29 minutes ago

Victoria Cosenza submitted Solution 725454 to Problem 2739. Construct an array

1 hour and 41 minutes ago

Pritesh Shah submitted Solution 725452 to Problem 42544. Health app

1 hour and 42 minutes ago

Pritesh Shah submitted Solution 725451 to Problem 42543. Compute change

1 hour and 44 minutes ago

Pritesh Shah submitted Solution 725449 to Problem 42542. Currency conversion

1 hour and 57 minutes ago

Pritesh Shah submitted a Comment to Problem 42540. Multiply

It should be mul(A,b) instead of mul(x). Please check test cases before post. Thanks

1 hour and 58 minutes ago

Pritesh Shah submitted Solution 725446 to Problem 42539. Divide

2 hours and 1 minute ago

Adnane Hamidi submitted Solution 725428 to Problem 8. Add two numbers

2 hours and 28 minutes ago

pradeepr submitted Solution 725424 to Problem 26. Determine if input is odd

2 hours and 37 minutes ago

pradeepr submitted Solution 725423 to Problem 26. Determine if input is odd

2 hours and 39 minutes ago

Adnane Hamidi submitted Solution 725422 to Problem 1. Times 2 - START HERE

2 hours and 41 minutes ago

Adnane Hamidi received Solver badge for Solution 725422

2 hours and 41 minutes ago

BobC submitted Solution 725415 to Problem 2716. Computing wind chill

3 hours and 14 minutes ago

pradeepr submitted Solution 725414 to Problem 8. Add two numbers

3 hours and 16 minutes ago