답변 있음
How to add specific rows that meet a condition?
How about just [sum(B(A<=1)) sum(B(A>1 & A<=2))]

4년 이하 전 | 0

답변 있음
FFT default process when samples are NOT a power of 2?
That is not part of a MathWorks' product. It is part of the this tool on the file exchange <http://www.mathworks.com/matlabcent...

4년 이하 전 | 0

| 수락됨

답변 있음
Discrete Wavelet Transform-Based Satellite Image Resolution Enhancement
Hi Meena, I would start by looking at this paper <http://www.ijcsit.com/docs/Volume%25204/Vol4Issue6/ijcsit2013040619.pdf sup...

4년 이하 전 | 0

답변 있음
Wavelet synchrosqueezed transform decomposition
Hi Marc, the synchrosqueezed transform does not specifically provide "details" like the discrete wavelet transform, but it does ...

4년 이하 전 | 1

답변 있음
Error related to "wden" in wavelet toolbox
Hi Steven, This code runs correctly on R2014a. snr = 3; init = 2055615866; [xref,x] = wnoise(3,11,snr,init); lev ...

약 5년 전 | 1

| 수락됨

답변 있음
How can I calculate 2D wavelet coefficients for multi resolution analysis given a 2D Array?
Varun, to respond to this: _"Sorry for commenting on my own post, but could someone explain the principle of wavelet tree dec...

5년 이상 전 | 0

답변 있음
How can I calculate 2D wavelet coefficients for multi resolution analysis given a 2D Array?
Hi Varun, Do you want the 2-D wavelet coefficients or wavelet packet coefficients? Those are different transforms. Your post ind...

5년 이상 전 | 0

답변 있음
Visualizing Gabor filters using mesh
Unless you have posted the incorrect version of my_gabor_filter.m, I show that it errors on this line actually: exp3 = (e...

5년 이상 전 | 0

답변 있음
How to put errorbars
Do you have the Statistics Toolbox? x = 1:10; y = sin(x); e = std(y)*ones(size(x)); plot(x,y,'b') hold on...

5년 이상 전 | 0

답변 있음
error in writing an equation
x = 0:.01:5; y = (3*sin(x).*cos(x))./((sin(x).^3)+(cos(x)).^3);

5년 이상 전 | 1

| 수락됨

답변 있음
send function to a function
You should always report the errors you get, that is very helpful in allowing people to help you. I see a number of immedia...

5년 이상 전 | 0

답변 있음
matrix shape is incorrect??
You don't give us all the variables here so we can't tell you how to change in the loop, but the simple thing to do is at the en...

5년 이상 전 | 0

답변 있음
plot normal distribution plot on histogram of residuals
Here is one way, I'll use Data as the residuals Data = randn(1000,1); %just making up some junk data binWidth = 0.7; %This...

5년 이상 전 | 1

| 수락됨

답변 있음
??? Undefined function or method 'gauss' for input arguments of type 'double'.
I'll leave aside whether it is prudent to fit a normal distribution to these data. Do you have the Statistics Toolbox install...

5년 이상 전 | 0

답변 있음
??? Undefined function or method 'gauss' for input arguments of type 'double'.
gauss() is not a MathWorks' function. Have you downloaded this function from somewhere? If so, you need to add the folder whe...

5년 이상 전 | 0

답변 있음
How to create categorical array from integer array?
Which version of MATLAB are you running? I do not have any problem executing that code on R2014a or R2013b. If you enter ...

5년 이상 전 | 0

| 수락됨

답변 있음
count 1's in binary
Hi Sasha, I'm presuming your binary number is a character array: s = '001111000000011100000000011111'; K1 = strfind(s,'1...

5년 이상 전 | 0

답변 있음
Bug in matlab R2012b version
In R2012b with win7 and a 64-bit machine I get the following: A = 0.5:0.1:.8; abs(A(3)-0.7) ans = 1.1102e-16 ...

5년 이상 전 | 0

답변 있음
hi members i have error using my matlab code "Subscripted assignment dimension mismatch" plz help me out.
There is no error there unless you have already set B equal to something in your workspace, clear the variables used here and th...

5년 이상 전 | 0

답변 있음
How to save an array output to file every 1000 iterations?
OK, so simply change the filename each time. In the following example I just create a file called Iteration1000.txt, Iteration20...

5년 이상 전 | 0

답변 있음
Why the amplitude of fft computing is a little bit different from a known value?
You have to realize that the frequency spacing between DFT elements depends on the length of the DFT and the sampling frequency....

5년 이상 전 | 1

| 수락됨

답변 있음
How to save an array output to file every 1000 iterations?
If its just a matrix, then you can use dlmwrite() with the '-append' option that will simply append the data. By default, dlmwri...

5년 이상 전 | 0

답변 있음
How to save an array output to file every 1000 iterations?
You can certainly insert a write operation to catch every 1000 iterations by inserting an if statement on your counter. Here ...

5년 이상 전 | 0

답변 있음
how to make a function with three parameter
Just declare the function function [output] = DescriptiveNameHere(image1,image2,patientID) . . . end save it in ...

5년 이상 전 | 1

답변 있음
mipicm2dmr.m image processing tool
As Image Analyst correctly indicates, that is not a MathWorks' function. Perhaps that function comes from this book: <http://...

5년 이상 전 | 1

| 수락됨

답변 있음
how to interpret format hex displays
I think you really want dec2hex() A = 12; dec2hex(A) Read <http://en.wikipedia.org/wiki/Double_precision Double Pr...

5년 이상 전 | 0

| 수락됨

답변 있음
How to extract ENF (Electrical Network Frequency) form audio signal. I want extracted ENF pattern from the audio signal using MATLAB code
Do you just want to plot frequency vs. time for a single frequency component, for example 50 Hz? In that case, you can simply...

5년 이상 전 | 0

답변 있음
Symbolic integration function step by step
You can certainly look inside the code for many of the numerical integration routines where the integral is evaluated "step-by-s...

5년 이상 전 | 0

답변 있음
what does the simplify command do?
Yes, in general it will but you may have to up the number of steps from 1 (the default) For example: syms x simplify(...

5년 이상 전 | 1

| 수락됨

답변 있음
What is the meaning of this error (Using function medfilt2)
You're likely trying to input a RGB image (3-D) to medfilt2. If you enter size(J) what is returned? If the last numb...

5년 이상 전 | 3

Load more