Community Profile

photo

Benjamin Schuessler


Last seen: 1 day ago
13 total contributions since 2017

Benjamin Schuessler's Badges

  • Thankful Level 2
  • Solver

View details...

Contributions in
View by

Solved


Return area of square
Side of square=input=a Area=output=b

1 year ago

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

1 year ago

Solved


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

1 year ago

Solved


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

1 year ago

Question


Checking if 2D coordinates are within 2D bins then sum Z values
Hi All, I'm having some difficulty/confusion with using accumarray. I have some polar coordinate data with a 3rd column of in...

2 years ago | 1 answer | 0

1

answer

Question


How to program Legendre Polynomial for Generalized Spherical Harmonics?
Hi All, I am looking for some help on how to program/calculate the Legendre polynomial for generalized spherical harmonics.. ...

2 years ago | 0 answers | 0

0

answers

Question


How to read non-rectangular text file?
Hi All, I'm having trouble on figuring out how to read this file... It's a text file with an odd format (see below), and I w...

2 years ago | 0 answers | 0

0

answers

Question


How to print each cell in cell array (of strings) on new row?
Hey all, I'm having trouble trying to print a cell array, where each cell is on a new line. For example, lets say we have:...

2 years ago | 1 answer | 0

1

answer

Question


How to create a 3D array with matrices of unequal dimentions
Hi all! I'm a little stuck here, I have a loop: for i = 1:length(n) (extras) n_input = n(i) tjdf = tjdfCoef(q12...

2 years ago | 1 answer | 0

1

answer

Question


How can I take the derivative of a symbolic matrix?
Hello, I'm having a little trouble taking the derivative of a symbolic matrix. Let's say I have a symbolic matrix 'f': f...

2 years ago | 1 answer | 0

1

answer

Question


How can I create a matrix with the values of the elements is a function of the indices?
I am trying to create a matrix from two vectors (i.e. A = [0:2] and B = [-2:2]) where the values for each cell of the matrix is ...

2 years ago | 1 answer | 0

1

answer

Solved


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

2 years ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

2 years ago