Community Profile

# Khaled Hamed

Last seen: 5 dagar ago Active since 2009

Water Resources

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

All

#### Content Feed

View by

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

ungefär 2 år ago | 0

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

ungefär 2 år ago | 1 answer | 0

### 1

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

nästan 3 år ago | 0

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

nästan 3 år ago | 0

Regarding concatenated error.
data = cell2mat(data1')

nästan 3 år 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: ...

nästan 8 år ago | 2 answers | 1

### 2

Question

Unexpected behavior of anonymous function
The anonymous function k below behaves correcltly except for the last two cases k(1,1,:) and k(1,2,:), where it interprets the s...

mer än 10 år ago | 2 answers | 5

### 2

very interesting phenomenon about 'loglog semilogy'
You must have had 'hold on' before the loop in order not to overwrite plots. If this is the case, a linear scale is always held....

mer än 10 år ago | 0

Silly question regarding plotting of contours
Check help TriScatteredInterp

mer än 10 år ago | 0

Question

Is this a Possible MATLAB bug? (Further strange Behavior)
I have encountered a strange behavior while solving one of the problems in Cody. I have simplified the code into the following ...

nästan 11 år ago | 4 answers | 4