Community Profile

photo

Khaled Hamed


Last seen: 1 día ago
827 total contributions since 2009

Contact

Khaled Hamed's Badges

  • Knowledgeable Level 1
  • Thankful Level 1
  • First Answer
  • Project Euler I
  • Quiz Master
  • Celebrity
  • First Review
  • First Submission
  • Puzzler
  • Creator
  • Tiles Challenge Master
  • Scholar
  • ASEE Challenge Master
  • Speed Demon
  • Commenter

View all

Contributions in
View by

Answered
How can I automatically let Matlab input the file in sequence?
for i=1:1000 [y,Fs] = audioread(['sample' num2str(i) '.wav']); spectrogram(y,'yaxis') saveas(gcf,['sample' num...

21 días ago | 0

Answered
How to calculate the transfer function for a 16 input system?
It depends on what type of Transfer Function you want to use. For example, if you want to use an ARX model (I am using random i...

26 días ago | 0

Answered
Regarding concatenated error.
data = cell2mat(data1')

26 días ago | 0

| accepted

Question


Can You Explain This Weird Behavior
Weird Behavior I came across some weird behavior while writing an m-file. I have managed to isolate the problem as follows: ...

casi 5 años ago | 2 answers | 1

2

answers

Solved


Bleed non-zeros to the right
What a title! Yet, it says what I mean. You get a vector, some values and a lot of zeroes. Every zero is replaced by the firs...

más de 6 años ago

Solved


Swap two numbers
Example Input: a = 10 b = 20 Output a = 20 b = 10

más de 6 años ago

Solved


What percentage?
Calculate the output c as the percentage of a on b for given a and b.

alrededor de 7 años ago

Solved


CARDS PROBLEM
Read my mind and tell me the card number that I have now in my hands.

alrededor de 7 años ago

Solved


Relative ratio of "1" in binary number
Input(n) is positive integer number Output(r) is (number of "1" in binary input) / (number of bits). Example: * n=0; r=...

alrededor de 7 años ago

Solved


factor to number
e.g. input number x=10 then it should produce y=25 or x=100 then y should be 2255. write a function or code to generate the same...

alrededor de 7 años ago

Solved


Make a vector of prime numbers
Input(n) - length of vector with prime numbers Output(v) - vector of prime numbers Example: * n=1; v=2 * n=3; v=[2 3 5...

alrededor de 7 años ago

Solved


Is the input divisible by 3?
Return true if the input is divisible by 3 and false if not.

alrededor de 7 años ago

Solved


The sum of the numbers in the vector
eg. [1,2,3]---->SUM=6

alrededor de 7 años ago

Solved


Volume and area of a sphere
Input(r) - radius Output([v,s]) - volume and area

alrededor de 7 años ago

Solved


How many digits are there?
Input(s) - any string Output(n) - number of digits within string s

alrededor de 7 años ago

Solved


Calculate the integral of the polynomial
for e.g. in = [3 2 1] out = [1 1 1 0]

alrededor de 7 años ago

Solved


calculate linear convolution two vectors
for e.g in: a = [1 2 3] b = [4 5 6] out: y = [4 13 28 27 18]

alrededor de 7 años ago

Solved


Number of odd and even elements within matrix
Input(m) - any matrix with integers Output(n) - n(1)=number of odd elements, n(2)=number of even elements Example: * m=...

alrededor de 7 años ago

Solved


Switch matrix to a column vector
for e.g. x = [1 2 3 4] y = 1 3 2 4

alrededor de 7 años ago

Solved


find the maximum element of the matrix
for e.g x = [1 2; 3 4] y = 4

alrededor de 7 años ago

Solved


Find the minimum element of the matrix
Example: If x = [3 9; 5 2] then y = 2

alrededor de 7 años ago

Solved


find the roots of a quadratic equation
for e.g x = [ 2 -1 -3] y = [1.5 -1]

alrededor de 7 años ago

Solved


Temperature conversion
Convert temperature in degrees Celsius (C) to temperature in degrees Kelvin (K). Assume your answer is rounded to the nearest Ke...

alrededor de 7 años ago

Solved


TOUGHEST PROBLEM EVER?????????????
Need Only Response!!!!!!!!!!!!!!!!!

alrededor de 7 años ago

Solved


Can I make a right triangle ?
Input(a) - is vector with any amount of values. Interpreted as legths of sides. Output(b): * Is true if there are any 3 va...

alrededor de 7 años ago

Solved


Calculate the derivative of a polynomial
Example: in = [ 1 1 1 ] out = [ 2 1 ]

alrededor de 7 años ago

Solved


Vector of numbers divisible by 3
* Input(n) - any integer * Output(v) - vector with numbers divisible by 3(exept 0) starting from n to 0 Examples: * n=6...

alrededor de 7 años ago

Solved


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

alrededor de 7 años ago

Solved


retwgre
bgreyerb

alrededor de 7 años ago

Solved


gsdgtre
gfdbr

alrededor de 7 años ago

Load more