Solved

Apply Function to Each Field of a Structure Array: Part 1

The builtin <http://www.mathworks.com/help/matlab/ref/structfun.html?=structfun structfun> applies a function handle to each fie...

6 days ago

Solved

Graph Algorithms - 1 : Length of the largest closed path

An undirected simple graph is given as the form of an adjacency matrix. Find the length of the largest closed path (one that sta...

11 days ago

Solved

Rearrange coefficients after block based DCT transform.

Two dimensional block-based discrete cosine transform <http://en.wikipedia.org/wiki/Discrete_cosine_transform#DCT-II (DCT-II)> i...

12 days ago

Solved

Graph Algorithms - 2 : Chromatic Number

Chromatic number of a graph is the minimum number of distinct colors required to color all the vertices of the graph such that n...

14 days ago

Answered

How to calculate the conditional probability of an event?

Actually, I believe that p(C|A) would be: y = strfind(array, 'A'); N_A = length(y); p_CA = N_AC/N_A; There is one further th...

How to calculate the conditional probability of an event?

Actually, I believe that p(C|A) would be: y = strfind(array, 'A'); N_A = length(y); p_CA = N_AC/N_A; There is one further th...

16 days ago | 1

Solved

SatCom #6: Inclination of a Sun-Synchronous Orbit

*Satellite and Space Engineering - Problem #5* _This is part of a series of problems looking at topics in satellite and space...

16 days ago

Answered

How to calculate the conditional probability of an event?

Myriam, If A, B and C were variables with the values 1, 2 and 3, then in your example: array = [1, 1, 2, 1, 3, 1, 2, 2, 2, 3, ...

How to calculate the conditional probability of an event?

Myriam, If A, B and C were variables with the values 1, 2 and 3, then in your example: array = [1, 1, 2, 1, 3, 1, 2, 2, 2, 3, ...

16 days ago | 0

Solved

Alternative Scoring. Create an incremental spiral.

This problem is created to test an alternative Cody scoring system. It is based on the current one, but few changes are introduc...

17 days ago

Solved

Fletcher-Reeves Conjugate Gradient Method

Write a function to find the values of a design variable vector, _x_, that minimizes an unconstrained scalar objective function,...

17 days ago