Community Profile

photo

Philip Butcher


Last seen: 4 dagen ago
442 total contributions since 2020

Model-Based Software Development, DO-178C.

Philip Butcher's Badges

  • Project Euler I
  • MATLAB Central Treasure Hunt Finisher
  • Thankful Level 1
  • R2016b Feature Challenge Master
  • Draw Letters
  • Commenter
  • CUP Challenge Master
  • Promoter
  • Speed Demon
  • Introduction to MATLAB Master
  • Leader
  • Community Group Solver
  • Solver

View details...

Contributions in
View by

Solved


Find the product of a Vector
How would you find the product of the vector [1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0] times 2?; x = [1 : 0.5 : 6]; y ...

4 dagen ago

Solved


Divide by 4
Given the variable x as your input, divide it by 4 and put the result in y.

4 dagen ago

Solved


Replace NaNs with the number that appears to its left in the row.
Replace NaNs with the number that appears to its left in the row. If there are more than one consecutive NaNs, they should all ...

4 dagen ago

Solved


Replace Nonzero Numbers with 1
Given the matrix x, return the matrix y with non zero elements replaced with 1. Example: Input x = [ 1 2 0 0 0 ...

4 dagen ago

Solved


Find out total non zero element of matrix
Find out Non zero element of matrix A=magic(5) 17 24 1 8 15 23 5 7 14 16 4 6...

4 dagen ago

Solved


Number of Even Elements in Fibonacci Sequence
Find how many even Fibonacci numbers are available in the first d numbers. Consider the following first 14 numbers 1 1 2...

4 dagen ago

Solved


Project Euler: Problem 16, Sums of Digits of Powers of Two
2^15 = 32768 and the sum of its digits is 3 + 2 + 7 + 6 + 8 = 26. What is the sum of the digits of the number 2^N? Thanks ...

4 dagen ago

Solved


Numbers spiral diagonals (Part 1)
Inspired by Project Euler n°28 et 58. A n x n spiral matrix is obtained by starting with the number 1 and moving to the right...

4 dagen ago

Solved


The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

5 dagen ago

Solved


Create a two dimensional zero matrix
You have to create a zero matrix of size (mxn) whose inputs are m and n and the elements of your matrix should be zeros. Exam...

5 dagen ago

Solved


Find the minimal value in N*N Matrix
Suppose that we have N by N matrix, we try to find the minimal value in that matrix. examples: Input A=[1 2 3 5 6;52 58 56 45...

5 dagen ago

Solved


Find the sum of the largest two elements in a vector
With this one, you have to find the two largest elements in a vector and output the sum of those numbers.

5 dagen ago

Solved


Replace 0 indices in array with 1's
Take a incoming vector, and replace 0's with ones

5 dagen ago

Solved


Sum two matrices
Take two incoming matrices, and sum them

5 dagen ago

Solved


Matrix multiplication
Multiply two incoming matrices via matrix multiplication

5 dagen ago

Solved


Numbers spiral diagonals (Part 2)
Inspired by Project Euler n°28 and 58. A n x n spiral matrix is obtained by starting with the number 1 and moving to the righ...

5 dagen ago

Solved


Prime Ladders
A <http://en.wikipedia.org/wiki/Word_ladder word ladder> transforms one word to another by means of single-letter mutations. So ...

6 dagen ago

Solved


PIN code III

10 dagen ago

Solved


PIN code

10 dagen ago

Solved


Insert zeros II

10 dagen ago

Solved


How many digits are there?
Input(s) - any string Output(n) - number of digits within string s

10 dagen ago

Solved


Swap rows

10 dagen ago

Solved


Diagonal Prod

10 dagen ago

Solved


Row avg

10 dagen ago

Solved


Times 3 problem
When you enter the number, it should return the number multiplied by 3

10 dagen ago

Solved


Min of a Matrix
Return the minimum value in the given matrix.

10 dagen ago

Solved


Matrix multiplication across rows
Given matrix m, return matrix n such that, rows of n are result of multiplication of the rows of the input matrix Example ...

10 dagen ago

Solved


Sum of diagonals elements of a matrix
Given a matrix, return the sum of all the elements across the diagonals. E.g. A = [1 2 3; 4 5 6; 7 8 9;...

10 dagen ago

Solved


Area of a Square
Given the length x of the side of a regular square, find the area of the square, A.

10 dagen ago

Solved


Insert zeros

10 dagen ago

Load more