Question

audio compressed to 10kbps using pcm

single chanel , 8k sample rate and 16bit , i want to compressed to 10kbps , can pcm make it ?

10 months ago | 1 Answers | 0

Question

how to make the command line invisible

i use "start matlab -nosplash -nodesktop -minimize -r test" to start my script ,but it did show the command line , i did not wan...

11 months ago | 1 Answers | 1

Answered

How to get the FFT of a PRC file

y= prcdata(:,6); x=1:size(prcdata,1); z= fft(y); plot(x,z);

How to get the FFT of a PRC file

y= prcdata(:,6); x=1:size(prcdata,1); z= fft(y); plot(x,z);

1 year ago | 1

| accepted

Answered

Problem with matrix manipulation

A = [A1 A2 ... An];% do not use ","

Problem with matrix manipulation

A = [A1 A2 ... An];% do not use ","

1 year ago | 0

| accepted

Solved

Find the sum of all the numbers of the input vector

Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

1 year ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]

In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

1 year ago

Solved

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

1 year ago

Question

zero phase spectrum and filtfilt function

Fs = 1; % Sampling Frequency N = 50; % Order Fc1 = 1/f1;%7s % First Cutoff Frequency Fc2 = 1...

1 year ago | 1 Answers | 0

Question

about bandstop filter ,how to make its side lope be 0 dB

i use the filter design tools to design bandstop filter ,but in some frequency of passband ,its gain is larger than 0 db,how t...

1 year ago | 0 Answers | 0

Question

legend text size changing while ticklabel size changing

i just want to change the size of xticklabel not the legend text size , but this did not work. They all changed. set(gca,'x...

1 year ago | 1 Answers | 0

Question

can matlab record the order of files i choosed one after another

i want to subplot them and ordered by the sequence one after another,

1 year ago | 0 Answers | 0

Question

file ordered by the sequence mouse selecting

there r several files ,for example,b.txt, c.txt , e.txt, a.txt; i want to order them by the mouse selecting sequence. fir...

1 year ago | 1 Answers | 0

Answered

Problem with "uigetfile" command in a compiled executable

[filename, pathname, filterindex] = uigetfile( ... { '*.mat','MAT-files (*.mat)'; ... '*.slx;*.mdl','Models (*.slx, ...

Problem with "uigetfile" command in a compiled executable

[filename, pathname, filterindex] = uigetfile( ... { '*.mat','MAT-files (*.mat)'; ... '*.slx;*.mdl','Models (*.slx, ...

1 year ago | 0

Question

how to save a zone of figure as picture

if i use gcf , it get the whole figure saved . i just want to save a special zone of this figure. a rectangle zone , is there a...

1 year ago | 2 Answers | 0

Question

problem about filter order in design tool

this is the filter i designed <</matlabcentral/answers/uploaded_files/30441/yy.png>> the specify order is 101 , and in ...

1 year ago | 2 Answers | 0

Question

how to eliminate the blank between subplot ?

what i mean is to make subplot box close to each other

1 year ago | 2 Answers | 0

Question

how many kinds of correlation coefficients in matlab or math?

i only find one function corrcoef(), is there another one ?

1 year ago | 1 Answers | 0

Question

how to make audio sound like continuous between each loop

in each loop i use sound(sig) , the length of sig is about o.5s, if i use pause in each loop, it may sound discontinuous ,if not...

1 year ago | 1 Answers | 0

Answered

in GUI , how to make the handles be used in my function?

ok, i found one way ,just set the handles as a parameter and pass it to my function. function myfun(handles,params)

in GUI , how to make the handles be used in my function?

ok, i found one way ,just set the handles as a parameter and pass it to my function. function myfun(handles,params)

1 year ago | 0

| accepted

Question

in GUI , how to make the handles be used in my function?

use global or sth. ? Is there any way? when i create my function , it occurs error: Attempt to reference field of non-struc...

1 year ago | 2 Answers | 0

Answered

How would I go about separating each of the numerical values from this string, and create a named variable from each?

Str = 'Average 0: ASM=5, DEP=34m, AV=652632.44'; rcell=strsplit(Str,':');s2=rcell{2};rcell2=strsplit(s2,','); Average0=...

How would I go about separating each of the numerical values from this string, and create a named variable from each?

Str = 'Average 0: ASM=5, DEP=34m, AV=652632.44'; rcell=strsplit(Str,':');s2=rcell{2};rcell2=strsplit(s2,','); Average0=...

1 year ago | 0

Answered

How to export a fourier series in its function form after using the curve-fitting method?

save theta_fit(t) fitdata; load fitdata;

How to export a fourier series in its function form after using the curve-fitting method?

save theta_fit(t) fitdata; load fitdata;

1 year ago | 0

| accepted

Answered

how can I sum 2 or more sine waves into one sine wave?

result = sinwave1 + sinwave2;(make sure they r with same length)

how can I sum 2 or more sine waves into one sine wave?

result = sinwave1 + sinwave2;(make sure they r with same length)

1 year ago | 0

Question

how to denosie the background noise

<</matlabcentral/answers/uploaded_files/28547/4.png>> there r 2 .wav file , one talk with laugh, another is just laugh. how t...

1 year ago | 1 Answers | 0

Question

how to show minor gridlines?

i have these commands, i think the order of execution may affect showing the grid lines, how to order them or better ways ? ...

2 years ago | 1 Answers | 0

Question

meaning of axis in wavelet shapes

<</matlabcentral/answers/uploaded_files/20316/s.png>> these are wavelet shapes in matlab help, i do not understand what's ...

2 years ago | 1 Answers | 0

Question

how to call .m file use exe

i have a bbb.m and bbb.figure, i want to use another tt.m and tt.figure to convert to an exe file, then use this exe file to ca...

2 years ago | 1 Answers | 0

Question

how to get the index of the same element in a cell

if true Qzonenum=unique(cgroup); for i = 1:length(Qzonenum) globidx=find(cgroup==Qzonenum{i}); end end th...

2 years ago | 1 Answers | 0

Question

i have a large matrix whose elements is 1 and 0; how to conver each row to decimal ,like bin2dec

i do it like this if true rownum = size(Qbinnum,1); for i = 1:rownum cgroup(i)=bin2dec(num2str(Qbi...

2 years ago | 2 Answers | 0