Réponse apportée
pcap files
Havent used it but there is a tool called MATshark.. Matshark and Pyshark are tools that integrate Wireshark's packet dissecti...

environ 14 ans il y a | 0

| A accepté

Réponse apportée
Asking for matrix
there is an example on this page: <http://answers.yahoo.com/question/index?qid=20100806000026AANWkTe>

environ 14 ans il y a | 0

| A accepté

Réponse apportée
no degree symbol
s = sprintf('45%c', char(176)); figure hold on title(s)

environ 14 ans il y a | 1

Réponse apportée
Need your HELP =(
I do not think there is a way currently in Matlab to play two wav files simultaneously. It can be done by an external mixer and ...

environ 14 ans il y a | 0

Réponse apportée
How to call m-files
Suppose you have two scripts script1.m and script2.m you can call the second script from the first by just using scri...

environ 14 ans il y a | 1

| A accepté

Réponse apportée
get rid of NaNs
A=[1 2 3 NaN NaN 5 6 7]; B=[1 2 3 4 5 6 7 8]; check=find(isnan(A)); B(check)=[]

environ 14 ans il y a | 1

Réponse apportée
Ask about break function
I think only the loop in which the break occurs is broken out of.. try for ii=1:5 ii for jj=1:6 ...

environ 14 ans il y a | 1

| A accepté

Réponse apportée
How to replace zeros in a matrix by the elements of an array?
You are on the right track, though it can be done in much simpler way but since you are a beginner this will suffice.. use ...

environ 14 ans il y a | 1

| A accepté

Réponse apportée
Converting uint8 array into 32-bit
I'm not sure maybe the type cast command will help doc typecast

environ 14 ans il y a | 0

Réponse apportée
Removing empty cell in array
Probably there is an easier way.. Mat=Mat(~cellfun('isempty',Mat)); Mat=reshape(Mat,[],4)

environ 14 ans il y a | 0

| A accepté

Réponse apportée
check string in array
is something like this what you want d ={'A' 'B' 'hello' 'hi' 'enter' 'exit' 'me' 'yo...

environ 14 ans il y a | 1

Réponse apportée
how to export figure data into a .mat file
In the figure gui click.. File>Save Workspace As..>'Any filename'

environ 14 ans il y a | 0

Réponse apportée
how to prevent of repeated permutation
unique(M2,'rows')

environ 14 ans il y a | 0

| A accepté

Réponse apportée
change only those zeros to NaN if all in row are 0
a(any(a,2)==0,:)=NaN; b=a

environ 14 ans il y a | 1

| A accepté

Réponse apportée
looking for an existing code in matlab that analyze EEG signals by FFT
You might be interested in the following: It is kind of a toolbox for EEG in matlab and has good tutorials.. <http://sccn.ucs...

environ 14 ans il y a | 0

| A accepté

Réponse apportée
problem with parfor variable
the above code in its simple form works: just preallocate for speed a=zeros(30,30); % preallocate variable a parfor it...

environ 14 ans il y a | 1

| A accepté

Réponse apportée
for and parfor
to use 'parfor' you need the parallel computing toolbox, which is not useful in basic matlab. The 'for' can be used in basic ma...

environ 14 ans il y a | 1

Réponse apportée
list all the files of certain type in directory and put them in a variable
I guess you will have more processing to do after getting all the file names in matlab. Here is a wonderful example on how to pr...

environ 14 ans il y a | 1

| A accepté

Réponse apportée
find value in matrix
You can do without sorting: b=a(a(:,2)<15,:)

environ 14 ans il y a | 1

| A accepté

Réponse apportée
error when im trying to save
try save('testSet.mat','testDates', 'testX' , 'testY') %to save it in the current directory or create a directory cal...

environ 14 ans il y a | 0

| A accepté

Réponse apportée
why are these values not equal?
This might help < http://matlab.wikia.com/wiki/FAQ#Why_is_0.3_-_0.2_-_0.1_.28or_similar.29_not_equal_to_zero.3F>

environ 14 ans il y a | 0

| A accepté

Réponse apportée
How to put strings on the x axes
figure1 = figure; axes1 = axes('Parent',figure1,'XTickLabel',neworder(:,1)); box(axes1,'on'); hold(axes1,'all'); ...

environ 14 ans il y a | 2

Réponse apportée
What is fitness function?
Fitness function is used in Genetic Algorithm in each iteration of the algorithm to evaluate the quality of all the proposed so...

environ 14 ans il y a | 0

Réponse apportée
Save data in for loop
This video should help: <http://blogs.mathworks.com/videos/2007/08/20/matlab-basics-video/> Eg> for ii = 1:50 ...

environ 14 ans il y a | 1

| A accepté

Réponse apportée
sort two matrix
[X,index]=sort(X,'descend') Y=Y(index)

environ 14 ans il y a | 1

| A accepté

Réponse apportée
how to pass command from a file to command window
You could use the disp command function myfunction ... ... disp('ho=findobj(''tag'',''sl2'')') ... ... ...

environ 14 ans il y a | 1

Réponse apportée
find x subjected to some limit.
This might be what you need q=rand(3,3); % generate 3x3 random matrix a=0.1; b=0.3; c=0.5;d=0.9; %values of a b c and ...

environ 14 ans il y a | 1

| A accepté

Réponse apportée
Stereo sound doesn't behave as expected
MAybe you need something like this [road,fs]=wavread('road.wav'); pad=zeros(length(road),1); % blank channel left...

environ 14 ans il y a | 1

Réponse apportée
CIELAB values from TIFF image
this page might help <http://robotics.stanford.edu/~ruzon/software/rgblab.html>

environ 14 ans il y a | 1

Réponse apportée
How to separate matrix row?
use A =[1 2 1 2 1 2] A(:,1)=0; B=A

environ 14 ans il y a | 1

| A accepté

Charger plus