Answered

solving unknown variables in matrices

You need to solve an linear optimization problem A*x = b. Each line is one of your points P,Q,R. b is the solution vector and ...

solving unknown variables in matrices

You need to solve an linear optimization problem A*x = b. Each line is one of your points P,Q,R. b is the solution vector and ...

2 years ago | 1

| accepted

Answered

how to find the weighted sum of two matrices of order 2778x6, the same is like this. any suggestion.

I assume, you want to calculate the sum of each matrix element. Weights are defined for each matrix (and usually sum up to 1). ...

how to find the weighted sum of two matrices of order 2778x6, the same is like this. any suggestion.

I assume, you want to calculate the sum of each matrix element. Weights are defined for each matrix (and usually sum up to 1). ...

2 years ago | 0

Answered

Possible bug in struct2table()

As this error only occurs with (1x1) structs, there is a simple workaroud. To convert a struct into a table, use the following c...

Possible bug in struct2table()

As this error only occurs with (1x1) structs, there is a simple workaroud. To convert a struct into a table, use the following c...

3 years ago | 1

Solved

Solve the Sudoku Row

*Description* A simple yet tedious task occurs near the end of most Sudoku-solving algorithms, computerized or manual. The ta...

5 years ago

Solved

For a given linear index as input for n sized square matrix, find corresponding row and column.

If input is 1, the row and column will be 1 and 1 respectively.

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

5 years ago

Solved

Increment a number, given its digits

Take as input an array of digits (e.g. x = [1 2 3]) and output an array of digits that is that number "incremented" properly, (i...

5 years ago

Solved

Weighted average

Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

5 years ago

Solved

Get all corner elements from a matrix where dimension of matrix is always equal to or greater than 2.

if a given matrix a = [1 2 3;4 5 6]; so answer is going to be [1 3;4 6]

5 years ago