Respondida
Matlab命令mex -setup找不到C语言编辑器
Did you install gcc or Xcode? If not, you need to install them. If you did, you need to check if they are on your path.

más de 13 años hace | 0

Respondida
saved images in matlab
You can dynamically change the file name. for example for m = 1:10 % ... fname = sprintf('name%d.jpg',m); ...

más de 13 años hace | 1

| aceptada

Respondida
How do filter function work?
MATLAB's filter() function an implementation of direction form II, the detailed algorithm can be found at http://www.mathwork...

más de 13 años hace | 0

| aceptada

Respondida
How to write a for loop to look at the rows of a M X N matrix?
It looks like below is a simplified version of what you want to do |a| is a matrix with 6 rows and the max is found for every...

más de 13 años hace | 0

| aceptada

Respondida
Is there any way to get the .wav file exported after modifications in matlab?
You can use |wavwrite| http://www.mathworks.com/help/techdoc/ref/wavwrite.html Also |dsp.AudioFileWriter| if you have DSP ...

más de 13 años hace | 2

Respondida
please help me to write matlab code for lagrange interpolation for order 1 through 3.
There are many Lagrange interpolation resources available online, just Google it. For example http://www.mathworks.com/matlab...

más de 13 años hace | 0

Respondida
assiging values to matrix accrding to indexes using sub2ind
Try |accumarray| MAT = accumarray([Z X],DATA)

más de 13 años hace | 0

| aceptada

Respondida
I would like find a matrix from a row and column vectors
If you want 501x201, then you may want to make |rr| a column and |xxb| a row rr = rr(:); xxb = xxb(:).'; c = bsxfun(@...

más de 13 años hace | 0

| aceptada

Respondida
Creating a string with sprintf() and assign a variable to it
Don't know what you are trying to do but here is an example. eval(sprintf('A%d = %s',1,'magic(3)')) As a general rule t...

más de 13 años hace | 0

| aceptada

Respondida
Digital low pass filter without signal processing toolbox
You can always go back to the literature and implement the equation yourself. Say if you want to design an FIR low pass filte...

más de 13 años hace | 0

Respondida
writing values from cell array to txt file
Here is an example, you can insert your fid in the code and it should work c = {{'hello' 'yes'} {'no', 'goodbye'}} fprin...

más de 13 años hace | 0

| aceptada

Respondida
how to tell the class of a variable (non-numeric) in a program?
You can use |isa| >> help isa

más de 13 años hace | 0

| aceptada

Respondida
Angle between a plane and horizontal
The angle between the two planes are the angle between the two normal vectors, so your approach is correct. I'm not sure why you...

más de 13 años hace | 1

| aceptada

Respondida
Blank Space that isn't a Blank space
Does |deblank| work for you? At least worth a try. http://www.mathworks.com/help/techdoc/ref/deblank.html

más de 13 años hace | 0

| aceptada

Respondida
generating autocorrelated time series based on data
I may not understand your statement correctly, but did you only try from first order to fourth order AR? I think you need set th...

más de 13 años hace | 0

Respondida
Returning coordinates from a plot function
I would also suggest you to take a look at findpeaks function in case you need to detect multiple peaks. http://www.mathworks...

más de 13 años hace | 0

Respondida
Radar Signal Processing - Community sought
The following page may be a good starting place to find some resources for MATLAB/Simulink http://www.mathworks.com/discovery...

más de 13 años hace | 1

Respondida
Radar - CFAR Threshold and Probabilities (Noise and Swerling)
Like Wayne mentioned in the post, you may want to take a look at Phased Array System Toolbox. Another point regarding your R...

más de 13 años hace | 0

Respondida
User input for plot axises titles during a script
You can use |sprintf| str = 'time'; title(sprintf('Automated plot of results over %s',str));

más de 13 años hace | 0

Respondida
how to process cell array
c = cellfun(@(a,b) a(b),A,B,'UniformOutput',false) or c = arrayfun(@(x)A{x}(B{x}),1:length(A),'UniformOutput',false)

más de 13 años hace | 0

Respondida
how to find phase angle for the FFT data of a transient signal ?
Why not just use |fft|? PSD contains only the power information so the phase information is lost.

más de 13 años hace | 0

Respondida
Create a mesh with four variables
doc ndgrid http://www.mathworks.com/help/techdoc/ref/ndgrid.html

más de 13 años hace | 0

| aceptada

Respondida
sprintf format specifiers won't print newline
% and \ are escape characters so you need to treat them special, try sprintf('%%*<>\\n'); You can find this information ...

más de 13 años hace | 0

Respondida
finding specific elements in a cell vector
uniqueA = unique(A); if isequal(uniqueA,{'1W'}) ... elseif isequal(uniqueA,{'1W';'2W'}) ... end

más de 13 años hace | 2

Respondida
FFT example on MATLAB help
This is basically done to preserve the power at each frequency sample point. The original series has L samples in it. At each fr...

más de 13 años hace | 0

Respondida
Question about latex synthax
add {} around y1(x) and y2(x), like this $$I(f)=\int_a^b \int_ {y1(x)}^{y2(x)} f(x,y) \dy \dx$$

más de 13 años hace | 0

| aceptada

Respondida
Solving system of nonlinear equations
Do you have Optimization Toolbox? If so, you can try fsolve http://www.mathworks.com/help/toolbox/optim/ug/fsolve.html

más de 13 años hace | 0

Respondida
Fix the seed in Matlab R2011b | Why RandStream failed?
Do you have to set it to global stream? If not, why not generate those random numbers in form of rand(s,1,n) so you by p...

más de 13 años hace | 0

Respondida
Indexing Tips: extend a time series to be cyclic
Not sure if it solves your question exactly but here is something that could be helpful. Say your data is 5 samples long N ...

más de 13 años hace | 0

Respondida
How can I change contents of a string?
Is your newdata also a cell? If so, you need to access it's content via {}. In your loop definition, you probably mean length...

más de 13 años hace | 0

Cargar más