Discover MakerZone

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

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!
26Rank
14Badges
10465Score

Tim submitted a Comment to Solution 854976

The output of your function is x, not x_correct, so remove "_correct" and it should work.

on 24 Mar 2016

Tim submitted a Comment to Solution 838676

Test suite needs 'assert' somewhere....

on 26 Feb 2016

Tim submitted Solution 838676 to Problem 42755. Angle bisectors

on 26 Feb 2016

Tim submitted Solution 838238 to Problem 42754. Odd elimination

on 25 Feb 2016

Tim submitted Solution 835498 to Problem 1298. P-smooth numbers

on 22 Feb 2016

Tim submitted a Comment to Problem 42698. Why the heck are they blinking!?!?

Yes, the height does increase the length. For example, w=4 n=5 h=0 gives L=63.1273, while w=4 n=5 h=8 gives L=64.0530. The formulas I used were r=w*t/(2*n*pi), x=r*cos(t), y=r*sin(t), and z=h*(1-t/(2*n*pi)), and then L is the integral of sqrt(dxdt^2+dydt^2+dzdt^2)*dt from 0 to 2*n*pi.

on 3 Jan 2016

Tim submitted a Comment to Problem 42698. Why the heck are they blinking!?!?

If the answer to this problem is L=F(w,n), the answer for a tree of height h is L=F(d,n*w/d), where d=sqrt(h^2+w^2).

on 29 Dec 2015

Tim submitted Solution 798813 to Problem 42697. sparse_matrix

on 28 Dec 2015

Tim submitted Solution 773694 to Problem 1925. Smith numbers

on 8 Nov 2015