Community Profile # Benjamin Schuessler

Last seen: 8 months ago Active since 2017

#### Statistics

All
• • #### Content Feed

View by

Solved

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

2 years ago

Solved

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

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

2 years ago

Solved

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

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

3 years ago | 1 answer | 0

### 1

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

3 years ago | 0 answers | 0

### 0

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

3 years ago | 0 answers | 0

### 0

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

3 years ago | 1 answer | 0

### 1

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

4 years ago | 1 answer | 0

### 1

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

4 years ago | 1 answer | 0

### 1

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

4 years ago | 1 answer | 0

### 1

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

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

4 years ago