Community Profile

photo

Geoff McVittie

MathWorks

Last seen: 10 días ago Active since 2014

Statistics

All
  • GitHub Submissions Level 2
  • 5-Star Galaxy Level 4
  • Personal Best Downloads Level 3
  • Editor's Pick
  • First Review
  • First Submission
  • Revival Level 2
  • First Answer
  • Solver

View badges

Content Feed

View by

Submitted


MATLAB Interface for Desktop Docker Client
A set of MATLAB functions to create and manage Docker images and containers through the Desktop Docker Client.

5 meses ago | 1 download |

Submitted


BioLib-MATLAB-Coder-JavaScript-Toolchain
A toolchain to create BioLib applications from MATLAB.

5 meses ago | 1 download |

Thumbnail

Answered
Is it possible to check for existence of fields in nested structures with isfield in MATLAB 8.1 (R2013a)?
For later releases of MATLAB, another strategy is to create your own issubfield function. The issubfield has the advantage of no...

11 meses ago | 0

Submitted


Generate JavaScript Using MATLAB Coder
Create JavaScript/WebAssembly apps and libraries from MATLAB projects using MATLAB Coder.

más de 1 año ago | 30 downloads |

Thumbnail

Answered
How can I use C++ classes in my MATLAB functions and generate code using MATLAB Coder?
Solution to interacting with C++ classes and methods using the standard library The std::mem_fn, available in functional librar...

alrededor de 2 años ago | 3

Answered
MatLab and new Web technologies
This toolbox on the MathWorks File Exchange (Generate JavaScript Using MATLAB Coder - File Exchange - MATLAB Central) can compil...

más de 2 años ago | 0

Answered
Deploying MATLAB Web App to the Internet
As another possibility, this toolbox on the MathWorks File Exchange (Generate JavaScript Using MATLAB Coder - File Exchange - MA...

más de 2 años ago | 0

Answered
How to connect mathlab code to php in my web application?
This toolbox on the MathWorks File Exchange (Generate JavaScript Using MATLAB Coder - File Exchange - MATLAB Central) can compil...

más de 2 años ago | 0

Answered
Is it possible to run matlab code from the web browser????
This toolbox on the MathWorks File Exchange (Generate JavaScript Using MATLAB Coder - File Exchange - MATLAB Central) can compil...

más de 2 años ago | 1

Solved


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

alrededor de 7 años ago

Solved


Bullseye Matrix
Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...

alrededor de 7 años ago

Solved


Pascal's Triangle
Given an integer n >= 0, generate the length n+1 row vector representing the n-th row of <http://en.wikipedia.org/wiki/Pascals_t...

alrededor de 7 años ago

Solved


Is this triangle right-angled?
Given three positive numbers a, b, c, where c is the largest number, return *true* if the triangle with sides a, b and c is righ...

alrededor de 7 años ago

Solved


Remove the vowels
Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...

alrededor de 7 años ago

Solved


Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

alrededor de 7 años ago

Solved


Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

alrededor de 7 años ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

alrededor de 7 años ago

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

alrededor de 7 años ago

Solved


Pangrams!
A pangram, or holoalphabetic sentence, is a sentence using every letter of the alphabet at least once. Example: Input s ...

alrededor de 7 años ago

Solved


How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...

alrededor de 7 años ago

Solved


Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

alrededor de 7 años ago

Solved


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

alrededor de 7 años ago

Solved


Elapsed Time
Given two date strings d1 and d2 of the form yyyy/mm/dd HH:MM:SS (assume hours HH is in 24 hour mode), determine how much time, ...

alrededor de 7 años ago

Solved


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

alrededor de 7 años ago

Solved


Roll the Dice!
*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...

alrededor de 7 años ago

Solved


Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

alrededor de 7 años ago

Solved


Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...

alrededor de 7 años ago

Solved


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...

alrededor de 7 años ago

Solved


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

alrededor de 7 años ago

Solved


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

alrededor de 7 años ago

Load more