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

13 years ago | 0

| accepted

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

13 years ago | 0

| accepted

Answered
no degree symbol
s = sprintf('45%c', char(176)); figure hold on title(s)

13 years ago | 1

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

13 years ago | 0

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

13 years ago | 1

| accepted

Answered
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)=[]

13 years ago | 1

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

13 years ago | 1

| accepted

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

13 years ago | 1

| accepted

Answered
Converting uint8 array into 32-bit
I'm not sure maybe the type cast command will help doc typecast

13 years ago | 0

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

13 years ago | 0

| accepted

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

13 years ago | 1

Answered
how to export figure data into a .mat file
In the figure gui click.. File>Save Workspace As..>'Any filename'

13 years ago | 0

Answered
how to prevent of repeated permutation
unique(M2,'rows')

13 years ago | 0

| accepted

Answered
change only those zeros to NaN if all in row are 0
a(any(a,2)==0,:)=NaN; b=a

13 years ago | 1

| accepted

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

13 years ago | 0

| accepted

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

13 years ago | 1

| accepted

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

13 years ago | 1

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

13 years ago | 1

| accepted

Answered
find value in matrix
You can do without sorting: b=a(a(:,2)<15,:)

13 years ago | 1

| accepted

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

13 years ago | 0

| accepted

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

13 years ago | 0

| accepted

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

13 years ago | 2

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

13 years ago | 0

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

13 years ago | 1

| accepted

Answered
sort two matrix
[X,index]=sort(X,'descend') Y=Y(index)

13 years ago | 1

| accepted

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

13 years ago | 1

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

13 years ago | 1

| accepted

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

13 years ago | 1

Answered
CIELAB values from TIFF image
this page might help <http://robotics.stanford.edu/~ruzon/software/rgblab.html>

13 years ago | 1

Answered
How to separate matrix row?
use A =[1 2 1 2 1 2] A(:,1)=0; B=A

13 years ago | 1

| accepted

Load more