Carl Witthoft - MATLAB Cody - MATLAB Central

Carl Witthoft

11565
Rank
2
Badges
460
Score
1 – 50 of 77

Carl Witthoft submitted a Comment to Problem 42708. Placing Beads Neatly in a Box

Can you clarify: does the partial sequence 1-1-0-1 force a failure? Your diagram doesn't seem to allow diagonal paths, so it seems that a single 0 or 1 causes failure.

on 27 Jan 2016

Carl Witthoft submitted a Comment to Problem 157. The Hitchhiker's Guide to MATLAB

In the spirit of troublemaking: I think the solution should accept text input, e.g. "forty-two"

on 16 Dec 2015

Carl Witthoft submitted a Comment to Problem 722. Make a run-length companion vector

See FileExchange's seqle . (disclaimer: I'm the author)

on 9 Dec 2015

Carl Witthoft submitted a Comment to Solution 492529

wtf?

on 1 Dec 2015

Carl Witthoft submitted a Comment to Problem 42519. Sum My Indices

Marginally related: my "outer.m" on FileExchange.

on 25 Nov 2015

Carl Witthoft submitted a Comment to Problem 42460. The cake is a lie...

death^H^H^H^Hservings by a thousand cuts

on 25 Nov 2015

Carl Witthoft submitted a Comment to Solution 783272

This fails, I believe, for asymmetric peaks. Try y = [0:4 , 3:-1:1,1,1,1,1,1]

on 24 Nov 2015

Carl Witthoft submitted a Comment to Problem 42688. Determine the full width at half max

Ahh, yes. Sorry, my bad

on 24 Nov 2015

Carl Witthoft submitted a Comment to Solution 387795

I think it works w/ just x*[1;i] . No need to convert from a string.

on 23 Nov 2015

Carl Witthoft submitted a Comment to Solution 81500

I don't know why Cody allows answers which depend on toolboxes. The whole point should be to write one's own "distance" function.

on 23 Nov 2015

Carl Witthoft submitted a Comment to Problem 51. Find the two most distant points

You need to specify "Euclidean" distance :-)

on 20 Nov 2015

Carl Witthoft submitted a Comment to Problem 57. Summing Digits within Text

What if there are decimals "I have $3.25 in 4 pockets" ? Should the answer be 7.25 or 32?

on 18 Nov 2015

Carl Witthoft submitted a Comment to Problem 40. Reverse Run-Length Encoder

See my function "seqle" on FileExchange. It may not be as compact, but it's easy to use and both encodes and decodes.

on 17 Nov 2015

1 – 50 of 77
Go to top of page