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

13 years ago | 0

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

13 years ago | 1

| accepted

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

13 years ago | 0

| accepted

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

13 years ago | 0

| accepted

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

13 years ago | 2

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

13 years ago | 0

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

13 years ago | 0

| accepted

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

13 years ago | 0

| accepted

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

13 years ago | 0

| accepted

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

13 years ago | 0

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

13 years ago | 0

| accepted

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

13 years ago | 0

| accepted

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

13 years ago | 1

| accepted

Answered
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

13 years ago | 0

| accepted

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

13 years ago | 0

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

13 years ago | 0

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

13 years ago | 1

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

13 years ago | 0

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

13 years ago | 0

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

13 years ago | 0

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

13 years ago | 0

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

13 years ago | 0

| accepted

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

13 years ago | 0

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

13 years ago | 2

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

13 years ago | 0

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

13 years ago | 0

| accepted

Answered
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

13 years ago | 0

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

13 years ago | 0

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

13 years ago | 0

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

13 years ago | 0

Load more