photo

Khaled Hamed


Last seen: 4 dagar ago Active since 2009

Followers: 0   Following: 0

Message

Water Resources

Programming Languages:
MATLAB, Visual Basic
Spoken Languages:
Arabic, English

Statistics

All
MATLAB Answers

6 Questions
6 Answers

File Exchange

2 Files

Cody

12 Problems
848 Solutions

RANK
2 657
of 300 508

REPUTATION
23

CONTRIBUTIONS
6 Questions
6 Answers

ANSWER ACCEPTANCE
83.33%

VOTES RECEIVED
13

RANK
5 081 of 21 019

REPUTATION
261

AVERAGE RATING
4.00

CONTRIBUTIONS
2 Files

DOWNLOADS
2

ALL TIME DOWNLOADS
2573

RANK
145
of 169 435

CONTRIBUTIONS
12 Problems
848 Solutions

SCORE
8 882

NUMBER OF BADGES
19

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Highlights

AVERAGE NO. OF LIKES

  • Treasure Hunt Participant
  • Thankful Level 3
  • Knowledgeable Level 1
  • Magic Numbers II Master
  • Community Group Solver
  • First Review
  • First Submission
  • Introduction to MATLAB Master
  • Famous
  • Project Euler I
  • First Answer
  • Quiz Master

View badges

Feeds

View by

Solved


Sums of cubes and squares of sums
Given the positive integers 1:n, can you: 1. Compute twice the sum of the cubes of those numbers. 2. Subtract the square...

17 dagar ago

Question


Error reading netcdf file over internet
The following code runs correctly without errors in online Matlab, Matlab Mobile, and even in this question box (when using the ...

mer än ett år ago | 0 answers | 0

0

answers

Solved


The Piggy Bank Problem
Given a cylindrical piggy bank with radius g and height y, return the bank's volume. [ g is first input argument.] Bonus though...

ungefär 4 år ago

Answered
How to copy a plot to clipboard programmatically
You have to first copy the plot to an new invesible figure then copy that figure to the clipboard. Check: How can I print only...

mer än 4 år ago | 2

| accepted

Question


Default Sum and Max for nan is not consistent
Dear All, Why is the inconsistency of 'sum' and "max' default treatment of NaNs? S = sum(...,NANFLAG) specifies how NaN (Not-A...

mer än 4 år ago | 1 answer | 0

1

answer

Solved


Calculate the Number of Sign Changes in a Row Vector (No Element Is Zero)
For a row vector: V=[7 1 2 -3] there is one sign change (from 2 to -3). So, the function you write must return N=1. F...

mer än 4 år 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...

mer än 4 år ago

Solved


Find last zero for each column
Given a numeric array of arbitrary size, return the row index of the last zero for each column. If a column contains all nonzero...

mer än 4 år ago

Solved


Oh Zero Zero Zero!!!
Hello all, So you have to find the largest section of zeros in a vector and then find the length of those zeros and there start...

nästan 5 år ago

Solved


Find nth maximum
Find nth maximum in a vector of integer numbers. Return NaN if no such number exists. x = [2 6 4 9 -10 3 1 5 -10]; So ...

nästan 5 år ago

Solved


Create an index-powered vector
Given a input vector x, return y as index-powered vector as shown below. Example x = [2 3 6 9] then y should be [...

nästan 5 år ago

Solved


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

nästan 5 år ago

Solved


Create a vector
Create a vector from 0 to n by intervals of 2.

nästan 5 år ago

Solved


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

nästan 5 år ago

Solved


NO _________ ALLOWED....
So you're given a sentence where if there is a particular word in the sentence then the output is 1, if it is not there then the...

nästan 5 år ago

Solved


Split a given string from the first instance of a given character
A simple operation to split a given string into two substrings at the point where the desired character is first found. e.g. ...

nästan 5 år ago

Solved


Concatenate strings
concatenate a variable number of input strings to produce one outputstring

nästan 5 år ago

Solved


Alternately upper-lower case
Modify the string to alternate between upper and lower case. For example, s='achyuta' output='AcHyUtA'

nästan 5 år ago

Solved


most frequent character
Obtain the most frequent character. For example, s='balaram'; output='a'; If there is a tie between letters, return t...

nästan 5 år ago

Solved


Make a list string
Given a cell string, produce a string separating the items with spaces and commas and with an 'and' preceding the final item, an...

nästan 5 år ago

Solved


ABBREVIATION
Abbreviate the given string. Consider Only Capital Letters. EXAMPLE If input is 'Abbreviation of The Given String' then ou...

nästan 5 år ago

Solved


Mean and standard deviation of times in string
Input(t) - cell of strings with times in format 'min:sec.ms' Output([m, s]) - two strings with mean and standard deviation wi...

nästan 5 år ago

Solved


Champernowne Constant
The <http://en.wikipedia.org/wiki/Champernowne_constant Champernowne constant> is a real number whose digits in decimal represen...

nästan 5 år ago

Solved


P-smooth numbers
This Challenge is to find <https://en.wikipedia.org/wiki/Smooth_number P-smooth number> partial sets given P and a max series va...

nästan 5 år ago

Solved


Knight's Tour Checker
Given a matrix a, determine whether or not a legal <http://en.wikipedia.org/wiki/Knight's_tour knight's tour> is present. The kn...

nästan 5 år ago

Solved


Scrabble Scores
Given a word, determine its score in <http://en.wikipedia.org/wiki/Scrabble Scrabble>. The input string will always be provi...

nästan 5 år ago

Solved


Put two time series onto the same time basis
Use interpolation to align two time series onto the same time vector. This is a problem that comes up in <http://www.mathwork...

nästan 5 år ago

Solved


Create logical matrix with a specific row and column sums
Given two numbers *|n|* and *|s|*, build an |n-by-n| logical matrix (of only zeros and ones), such that both the row sums and th...

nästan 5 år ago

Solved


Generalised Hamming Number
Inspired by Project Euler n°204 and Problem 1308 by James A generalised Hamming number of type n, has no prime factor larger ...

nästan 5 år ago

Solved


Find vampire numbers
A <http://en.wikipedia.org/wiki/Vampire_number vampire number> is a number v that is the product of two numbers x and y such th...

nästan 5 år ago

Load more