Community Profile

# Doan Quang Manh

### Vietnam National University - University of Engineering and Technology

Last seen: 4 days ago Active since 2019

#### Content Feed

View by

Solved

Convert this color - RGB Vector to Hex String
Given a 3 element RGB vector corresponding to a color (given by the MATLAB color spec <http://www.mathworks.com/help/matlab/ref/...

13 days ago

Solved

Convert hex color specification to MATLAB RGB
Here's something that comes up all the time if you deal with web pages. Given a <http://www.w3schools.com/html/html_colors.as...

13 days ago

Solved

Decimation - Optimized for speed
This problem is similar to http://www.mathworks.com/matlabcentral/cody/problems/1092-decimation, only this time the score will b...

13 days ago

Solved

Spiral In
Create an m by n matrix filled with sequential integers starting from 1 and arranged in a counterclockwise spiral that hugs the ...

13 days ago

Solved

Find Logic 19

13 days ago

Solved

Find Logic 18

13 days ago

Solved

Find Logic 17

13 days ago

Solved

Find Logic 16

13 days ago

Solved

Find Logic 14

13 days ago

Solved

Find Logic 15

13 days ago

Solved

Find Logic 13

13 days ago

Solved

Find Logic 12

13 days ago

Solved

Find Logic 11

13 days ago

Solved

Find Logic 10

13 days ago

Solved

Find Logic 9

13 days ago

Solved

Find Logic 8

13 days ago

Solved

Find Logic 7

13 days ago

Solved

Find Logic 6

13 days ago

Solved

Find Logic 4

13 days ago

Solved

Find Logic 3

13 days ago

Solved

Find Logic 1

13 days ago

Solved

Combinations without using nchoosek
You have to generate a matrix with all possible combinations of n elements *taken 2* at a time, *without using nchoosek(1:n,2)* ...

13 days ago

Solved

NCHOOSEK - Time Optimization
*Input* * *V* —— Set of all choices, a vector of N, 1 < N < 100 * *K* —— Number of selected choices, a scalar, 0 <= K <=...

13 days ago

Solved

~~~~~~~ WAVE ~~~~~~~~~
|The WAVE generator| Once upon a time there was a river. 'Sum' was passing by the river. He saw the water of the river that w...

13 days ago

Solved

matrix zigzag
Unfold a 2-D matrix to a 1-D array in zig-zag order, e.g., for matrix [ 1 2 3 ; 4 5 6 ; 7 8 9 ] the resulting 1-...

13 days ago

Solved

Energy of a photon
*&#9883 &#9762 &#9883 &#9762 &#9883 &#9762 &#9883* Given the frequency F of a photon in giga hertz. Find energy E of this...

13 days ago

Solved

Decimation
When dealing to the Roman Army, the term decimate meant that the entire unit would be broken up into groups of ten soldiers, and...

14 days ago

Solved

A matrix of extroverts
Now that the introverts have had their script, the extroverts spoke up (naturally!) and demanded one as well. You will be given...

14 days ago

Solved

generate number in particular way
A = [1 5 2 7]; MAX = 10; generate a array Y = [1 2 2 2 2 2 3 3 4 4]; i.e. total eleme...

14 days ago

Solved

S-T-R-E-T-C-H I-T O-U-T
You will be given a row of numbers (x), and a single number (n). Your job is to write a script that will stretch out the row of...

14 days ago