답변 있음
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년 초과 전 | 0

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

13년 초과 전 | 1

| 수락됨

답변 있음
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년 초과 전 | 0

| 수락됨

답변 있음
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년 초과 전 | 0

| 수락됨

답변 있음
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년 초과 전 | 2

답변 있음
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년 초과 전 | 0

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

13년 초과 전 | 0

| 수락됨

답변 있음
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년 초과 전 | 0

| 수락됨

답변 있음
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년 초과 전 | 0

| 수락됨

답변 있음
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년 초과 전 | 0

답변 있음
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...

거의 14년 전 | 0

| 수락됨

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

거의 14년 전 | 0

| 수락됨

답변 있음
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...

거의 14년 전 | 1

| 수락됨

답변 있음
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

거의 14년 전 | 0

| 수락됨

답변 있음
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...

거의 14년 전 | 0

답변 있음
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...

거의 14년 전 | 0

답변 있음
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...

거의 14년 전 | 1

답변 있음
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...

거의 14년 전 | 0

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

거의 14년 전 | 0

답변 있음
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)

거의 14년 전 | 0

답변 있음
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.

거의 14년 전 | 0

답변 있음
Create a mesh with four variables
doc ndgrid http://www.mathworks.com/help/techdoc/ref/ndgrid.html

거의 14년 전 | 0

| 수락됨

답변 있음
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 ...

거의 14년 전 | 0

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

거의 14년 전 | 2

답변 있음
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...

거의 14년 전 | 0

답변 있음
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$$

거의 14년 전 | 0

| 수락됨

답변 있음
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

거의 14년 전 | 0

답변 있음
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...

거의 14년 전 | 0

답변 있음
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 ...

거의 14년 전 | 0

답변 있음
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...

거의 14년 전 | 0

더 보기