photo

Benjamin Schuessler


Last seen: 3 years ago Active since 2017

Followers: 0   Following: 0

Statistics

All
  • Thankful Level 3
  • Solver

View badges

Feeds

View by

Solved


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

6 years ago

Solved


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

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

6 years ago

Solved


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

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

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

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

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

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

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

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

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

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

7 years ago