Community Profile

# Khaled Hamed

Last seen: 1 giorno fa Attivo dal 2009

Water Resources

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

All

#### Content Feed

Visto da

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

oltre un anno fa | 0

| accettato

Domanda

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

oltre un anno fa | 1 risposta | 0

### 1

risposta

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

| accettato

Domanda

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

oltre 7 anni fa | 2 risposte | 1

### 2

risposte

Domanda

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

circa 10 anni fa | 2 risposte | 5

### 2

risposte

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

circa 10 anni fa | 0

Risposto
Silly question regarding plotting of contours
Check help TriScatteredInterp

circa 10 anni fa | 0

Domanda

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

oltre 10 anni fa | 4 risposte | 4

### 4

risposte

Domanda

Any idea why all([]) is true while any([]) is false
>> all([]) ans = 1 >> any([]) ans = 0

oltre 10 anni fa | 2 risposte | 1

risposte