Community Profile

# Doan Quang Manh

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

Last seen: 8 Tage 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/...

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

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

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

21 Tage ago

Solved

Find Logic 19

21 Tage ago

Solved

Find Logic 18

21 Tage ago

Solved

Find Logic 17

21 Tage ago

Solved

Find Logic 16

21 Tage ago

Solved

Find Logic 14

21 Tage ago

Solved

Find Logic 15

21 Tage ago

Solved

Find Logic 13

21 Tage ago

Solved

Find Logic 12

21 Tage ago

Solved

Find Logic 11

21 Tage ago

Solved

Find Logic 10

21 Tage ago

Solved

Find Logic 9

21 Tage ago

Solved

Find Logic 8

21 Tage ago

Solved

Find Logic 7

21 Tage ago

Solved

Find Logic 6

22 Tage ago

Solved

Find Logic 4

22 Tage ago

Solved

Find Logic 3

22 Tage ago

Solved

Find Logic 1

22 Tage 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)* ...

22 Tage 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 <=...

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

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

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

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

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

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

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

22 Tage ago