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

Learn moreOpportunities for recent engineering grads.

Apply TodayPaul Berglund submitted Solution 532195 to Problem 2567. Deleting an element in a matrix

on 22 Nov 2014 at 1:55

Paul Berglund submitted Solution 531458 to Problem 2560. expand intervals vol.2

on 21 Nov 2014 at 0:42

Paul Berglund submitted Solution 530518 to Problem 2627. Convert to Binary Coded Decimal

on 19 Nov 2014 at 1:45

Paul Berglund submitted Solution 530517 to Problem 2628. Find Excess 3 code of given decimal number.

on 19 Nov 2014 at 1:38

Paul Berglund submitted Solution 529704 to Problem 2532. Generate vector according to sign of vector

on 17 Nov 2014 at 0:23

Paul Berglund submitted Solution 529702 to Problem 2350. What is Sum Of all elements of Matrix

on 17 Nov 2014 at 0:20

Paul Berglund submitted Solution 529696 to Problem 2631. Flip the vector from right to left

on 17 Nov 2014 at 0:13

Paul Berglund submitted Solution 529685 to Problem 2647. Find the maximal cliques in an undirected graph

on 16 Nov 2014 at 22:57

Paul Berglund submitted Solution 529649 to Problem 2646. Determine the number of maximal cliques in an undirected graph

on 16 Nov 2014 at 21:27

Paul Berglund submitted Solution 529631 to Problem 2652. Kurchan 5x5 - Optimal Score

on 16 Nov 2014 at 19:48

Paul Berglund submitted Solution 529455 to Problem 2652. Kurchan 5x5 - Optimal Score

on 15 Nov 2014 at 23:40

Paul Berglund submitted Solution 529383 to Problem 2650. Kurchan 4x4 - Optimal score

on 15 Nov 2014 at 15:42

Paul Berglund submitted Solution 529369 to Problem 2650. Kurchan 4x4 - Optimal score

on 15 Nov 2014 at 14:04

Paul Berglund submitted Solution 529365 to Problem 2664. Divisors for big integer

on 15 Nov 2014 at 13:50

Paul Berglund submitted Solution 526772 to Problem 2658. Average speed for the entire trip

on 11 Nov 2014 at 23:06

Paul Berglund submitted Solution 524000 to Problem 2653. Beauty of Parentheses

on 8 Nov 2014 at 17:37

Paul Berglund submitted Solution 523709 to Problem 2639. How Many Months Until It's Today Again?

on 7 Nov 2014 at 23:22

Paul Berglund submitted Solution 523693 to Problem 2648. Ulam spiral 2: The revenge

on 7 Nov 2014 at 22:40

Paul Berglund submitted Solution 523647 to Problem 2651. Find the same and successive values in a vector

on 7 Nov 2014 at 21:11

Paul Berglund submitted Solution 509888 to Problem 2620. Determine the Anti-diagonal of a Magic Square

on 7 Oct 2014

Paul Berglund submitted a Comment to Problem 2585. How to reverse spdiags ?

% this problem is not guaranteed solvable
isequal(spdiags([eye(5) zeros(5)]),spdiags(eye(5)))

on 5 Oct 2014

Paul Berglund submitted Solution 506202 to Problem 2606. Decrypt the cypher using XOR encryption (for beginners)

on 28 Sep 2014

Paul Berglund submitted Solution 505685 to Problem 2591. Does the coin touch the line?

on 27 Sep 2014

Paul Berglund submitted Solution 505683 to Problem 2605. Find out value of polynomial at different value.

on 27 Sep 2014

Paul Berglund submitted Solution 504188 to Problem 2587. Find indices of diagonal elements

on 24 Sep 2014

Paul Berglund submitted Solution 504167 to Problem 2590. Create an anti-identity matrix

on 24 Sep 2014

Paul Berglund submitted Solution 503057 to Problem 2593. Polite numbers. N-th polite number.

on 20 Sep 2014

Paul Berglund submitted Solution 502810 to Problem 2597. Alternative Scoring. Create an incremental spiral.

on 19 Sep 2014

Paul Berglund submitted Solution 502809 to Problem 2287. Find the dimensions of a matrix

on 19 Sep 2014

Paul Berglund submitted Solution 502801 to Problem 2592. LocateMembership | Membership of Matrix in another matrix

on 18 Sep 2014

Paul Berglund submitted a Comment to Solution 502450

I think that this solution is perfectly legitimate. Why try to solve it "properly"? It's not like you are using eval or something like that. regexprep is a perfectly legitimate tool to use.

on 18 Sep 2014