Community Profile

photo

Nicholas Sbalbi


Last seen: 3일 전 2018년부터 활동

Followers: 0   Following: 0

연락

Chemical Engineering undergraduate at University of Massachusetts Amherst.

통계

All
  • 5-Star Galaxy Level 2
  • First Review
  • Thankful Level 1
  • Personal Best Downloads Level 1
  • GitHub Submissions Level 2
  • First Submission
  • Solver

배지 보기

Feeds

보기 기준

질문


Color Label Image By Region Property
I have a binarized image with multiple identified regions that each have a particular orientation. I would like to color the ide...

7개월 전 | 답변 수: 2 | 0

2

답변

제출됨


Cahn-Hilliard Spinodal Decomposition Model
MATLAB script for generating videos from the Cahn-Hilliard model of phase separation.

3년 초과 전 | 다운로드 수: 7 |

Thumbnail

제출됨


Gray-Scott Reaction-Diffusion
MATLAB script used to generate Gray-Scott reaction-diffusion models and output resulting videos.

3년 초과 전 | 다운로드 수: 18 |

Thumbnail

질문


Return Indices for x Smallest/Largest Values in Array
Is there a clean and elegant way for extracting the indices of the x smallest or largest values in an array? For example say I h...

거의 4년 전 | 답변 수: 3 | 0

3

답변

문제를 풀었습니다


Flip the main diagonal of a matrix
Given a n x n matrix, M, flip its main diagonal. Example: >> M=magic(5); >> flipDiagonal(M) 9 24 1 ...

5년 초과 전

문제를 풀었습니다


Back to basics 23 - Triangular matrix
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix, return a matrix with all elements above a...

5년 초과 전

문제를 풀었습니다


Reverse the elements of an array
Reverse the order of elements in an array: eg: input X = [ 1 2 3 ; 4 5 6 ; 7 8 9 ] o...

5년 초과 전

문제를 풀었습니다


Back to basics 21 - Matrix replicating
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix, generate an output matrix that consists o...

5년 초과 전

문제를 풀었습니다


Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

5년 초과 전

문제를 풀었습니다


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...

5년 초과 전

문제를 풀었습니다


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

5년 초과 전

문제를 풀었습니다


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

5년 초과 전

문제를 풀었습니다


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...

5년 초과 전

문제를 풀었습니다


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

5년 초과 전

문제를 풀었습니다


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

5년 초과 전

문제를 풀었습니다


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

5년 초과 전

문제를 풀었습니다


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

5년 초과 전

문제를 풀었습니다


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...

5년 초과 전