Community Profile

# Benjamin Schuessler

13 2017 年以降の合計貢献数

#### Benjamin Schuessler's バッジ

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

3ヶ月 前

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

3ヶ月 前

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.

3ヶ月 前

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

3ヶ月 前

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

7ヶ月 前 | 1 件の回答 | 0

### 1

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

9ヶ月 前 | 0 件の回答 | 0

### 0

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

### 0

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

### 1

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

1年以上 前 | 1 件の回答 | 0

### 1

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

1年以上 前 | 1 件の回答 | 0

### 1

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

1年以上 前 | 1 件の回答 | 0

### 1

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

1年以上 前

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

1年以上 前