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

más de 13 años hace | 0

| aceptada

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

más de 13 años hace | 0

| aceptada

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

más de 13 años hace | 1

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

más de 13 años hace | 0

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

más de 13 años hace | 1

| aceptada

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

más de 13 años hace | 1

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

más de 13 años hace | 1

| aceptada

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

más de 13 años hace | 1

| aceptada

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

más de 13 años hace | 0

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

más de 13 años hace | 0

| aceptada

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

más de 13 años hace | 1

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

más de 13 años hace | 0

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

más de 13 años hace | 0

| aceptada

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

más de 13 años hace | 1

| aceptada

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

más de 13 años hace | 0

| aceptada

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

más de 13 años hace | 1

| aceptada

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

más de 13 años hace | 1

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

más de 13 años hace | 1

| aceptada

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

más de 13 años hace | 1

| aceptada

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

más de 13 años hace | 0

| aceptada

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

más de 13 años hace | 0

| aceptada

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

más de 13 años hace | 2

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

más de 13 años hace | 0

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

más de 13 años hace | 1

| aceptada

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

más de 13 años hace | 1

| aceptada

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

más de 13 años hace | 1

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

más de 13 años hace | 1

| aceptada

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

más de 13 años hace | 1

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

más de 13 años hace | 1

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

más de 13 años hace | 1

| aceptada

Cargar más