Benjamin Schuessler
Followers: 0 Following: 0
Feeds
문제를 풀었습니다
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
거의 6년 전
문제를 풀었습니다
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년 전
질문
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년 전 | 답변 수: 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.. ...
대략 6년 전 | 답변 수: 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...
6년 초과 전 | 답변 수: 0 | 0
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:...
6년 초과 전 | 답변 수: 1 | 0
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...
거의 7년 전 | 답변 수: 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...
거의 7년 전 | 답변 수: 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 ...
거의 7년 전 | 답변 수: 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 ...
거의 7년 전
문제를 풀었습니다
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년 전