photo

Junho Kweon


Last seen: 3 månader ago Active since 2018

Followers: 0   Following: 0

Doctoral student in Electrical Engineering at Penn State

Spoken Languages:
English

Statistics

All
  • First Answer
  • Promoter
  • Community Group Solver
  • MATLAB Central Treasure Hunt Finisher
  • Solver
  • First Review
  • Thankful Level 1

View badges

Feeds

View by

Answered
chol() gives error for a (barely) positive definite matrix.
There is quite well-developed code nearestSPD, which can solve the minor round-off error as @Christine Tobler mentioned. The cod...

mer än ett år ago | 0

Question


How can I derive inverse of the matrix with infinite determinant?
Hi guys, there is a matrix A which has finite dimension and finite-valued elements. However, because of its large size and valu...

ungefär 2 år ago | 4 answers | 0

4

answers

Solved


Determine if Input is Oddish or Evenish (Odd/Even Sum of Digits)
Given a positive integer n, determine whether n is "oddish" or "evenish" - that is, whether the sum of the digits of n is odd or...

ungefär 2 år ago

Solved


Determine if x is a combination of m and n
Given positive integers x, m, and n, determine if x can be written as x = am + bn for any (non-negative) integers a and b. Your ...

ungefär 2 år ago

Solved


Create an arrow matrix
An arrow matrix is a square matrix that contains ones on the diagonal, the last column, and last row. ...

ungefär 2 år ago

Solved


Calculating Student Grades
The matrix grades contains raw grades for 7 students who took your course. Each row represents a different student. The first 7 ...

ungefär 2 år ago

Solved


Dog Statistics
The vectors ht and wt contains the heights and weights of 20 golden retrievers. In some cases, it was not possible to make both ...

ungefär 2 år ago

Solved


Generate this matrix
Generate the following matrix. n = 2; out = [-4 -3 -2 -1 0 -3 -2 -1 0 1 -...

ungefär 2 år ago

Solved


Simpson's Paradox - Calculate correlation coefficients for groups of data
Simpson's Paradox is a statistical phenomenon where groups of data can have a characteristic while the whole data set together h...

ungefär 2 år ago

Solved


Find the minimum of the column-maximums of a matrix
Given a matrix A, find the maximum value of each column, then return the smallest of those maximum values (ie return the minimum...

ungefär 2 år ago

Solved


Calculate the mean of each half of a matrix
Given a matrix with an even number of columns, n, return a 1-by-2 row vector where the first element is the mean of all the elem...

ungefär 2 år ago

Solved


Find Closest Constant
Given a number x, return the value that is closest to x from this list of constants: 0, 1, , e, , (also known as ). For exampl...

ungefär 2 år ago

Solved


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the numbers. Otherwise return false. Example...

ungefär 2 år ago

Solved


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

ungefär 2 år 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.

ungefär 2 år ago

Solved


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

ungefär 2 år ago

Solved


Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

ungefär 2 år ago

Solved


Create a vector
Create a vector from 0 to n by intervals of 2.

ungefär 2 år ago

Solved


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

ungefär 2 år ago

Solved


Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

ungefär 2 år ago

Solved


Find max
Find the maximum value of a given vector or matrix.

ungefär 2 år ago

Solved


Inner product of two vectors
Find the inner product of two vectors.

ungefär 2 år ago

Solved


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

ungefär 2 år ago

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

ungefär 2 år ago

Solved


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

ungefär 2 år ago

Solved


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

ungefär 2 år ago

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

ungefär 2 år ago

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

mer än 2 år ago

Question


How can I convert a function with multivariable input to a function with single vector input?
Hi, I want to use fmincon, and fmincon can deal with only function with single vector input. When my formula is as below, it wo...

mer än 2 år ago | 1 answer | 0

1

answer

Question


How to take a part of matrix, which is function result?
My code is like this. A = [1 2; 3 4]; B = sum(A) % I want to use fft or other functions rather than 'sum' x = B(1) ...

ungefär 6 år ago | 1 answer | 0

1

answer