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

mehr als 11 Jahre vor | 0

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

mehr als 11 Jahre vor | 0

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

mehr als 11 Jahre vor | 1

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

mehr als 11 Jahre vor | 1

| akzeptiert

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

mehr als 11 Jahre vor | 1

| akzeptiert

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

mehr als 11 Jahre vor | 0

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

mehr als 11 Jahre vor | 0

Beantwortet
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(...

mehr als 11 Jahre vor | 1

| akzeptiert

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

mehr als 11 Jahre vor | 3

Beantwortet
Java Exception Error for cftool
<https://www.mathworks.com/support/bugreports/789788 cftool bug> It sounds like you are hitting this issue? Have you tried...

mehr als 11 Jahre vor | 0

Beantwortet
HOW DO extract input signal is first segmented into frames and EMD is conducted on every frame to extract the associated IMFs
You simply sum the intrinsic mode functions. Depending on which empirical mode decomposition routine you are using, you will obt...

mehr als 11 Jahre vor | 0

Beantwortet
how can I insert a new toolbox in Matlab2014a
Pattern Recognition Toolbox is not a MathWorks' product so the standard MathWorks' installer won't install it on the path. Yo...

mehr als 11 Jahre vor | 0

Beantwortet
How to mark 95% confidence interval with single bar line - example image
Do you have the Statistics Toolbox? If so, you can use errorbar() For example Fs = 1000; t = 0:1/Fs:.296; x = co...

mehr als 11 Jahre vor | 1

| akzeptiert

Beantwortet
denoising using wavelet
I'm not sure why your original post was about 2-D and it turns out that you have 1-D signals. Yes, what you have done is bas...

mehr als 11 Jahre vor | 0

| akzeptiert

Beantwortet
rand('state',11)
rand('state',seed_number) is an old way of seeding the MATLAB v5 random number generator.

mehr als 11 Jahre vor | 0

Beantwortet
delay and sum beamforming(in frequency domain)
Hi Zozo, Are you able to use the Phased Array System Toolbox? The Phased Array System Toolbox has a delay-sum narrowband beam...

mehr als 11 Jahre vor | 0

Beantwortet
what value should i give for hsize and sigma in fspecial (gaussian) function???
That really depends on your filtering application. Obviously the bigger hsize, the larger the neighborhood you are filtering ove...

fast 12 Jahre vor | 0

Beantwortet
Random Variables with nakaqami - m distribution.
Do you have the Statistics Toolbox? If so pd = makedist('Nakagami','mu',5,'omega',2); R = random(pd,1000,1); Change...

fast 12 Jahre vor | 1

Beantwortet
RGB images are 3-D(i.e 3 , 2-D array for R,G,B ), can we extract these array seperatly?
You just select each "page" of the matrix. im = imread('ngc6543a.jpg'); Rim = im(:,:,1); Gim = im(:,:,2); Bim = im...

fast 12 Jahre vor | 0

| akzeptiert

Beantwortet
access value from another file
Why don't you have the function, nn.m, output the value of r, then the function mm can use that value. That is the best way to d...

fast 12 Jahre vor | 0

Beantwortet
Please how do you write a code to sample a given complex exponential sinusoid (exp(j*phi(nTs)),given that n=0.....N-1.Given also that i have already generated 10000 discrete sample of phi_t .
If you already have the vector phi just evalute phi at your t points. Ts = 5e-6; t = 0:Ts:(64*Ts); phi ...

fast 12 Jahre vor | 0

| akzeptiert

Beantwortet
Design of bandpass filter with Yulewalk
yulewalk() accepts magnitudes so you cannot use negative values. However, it looks like you have specifications in dB so small p...

fast 12 Jahre vor | 0

| akzeptiert

Beantwortet
How to set a folder as Current folder for every startup of Matlab?
On MAC OS try changing the file of userpath(), which I think defaults to your Documents directory, you can confirm this by enter...

fast 12 Jahre vor | 1

| akzeptiert

Beantwortet
How do i add white gaussian noise to 3d point( x, y,z) and pass those values to kalman filter?
% Just creating my "signal" X = randi(50,10,10,10); X = X+randn(size(X));

fast 12 Jahre vor | 0

Beantwortet
i need such matlab command which took the sequence of previous matrix and use it for the next matrix?
What do you mean by "take the sequence of 'p' and use it..." A = randn(10,10); p = sortrows(A); You have the matrix p...

fast 12 Jahre vor | 0

Beantwortet
How to repeat a cell?
Does it just occur once? x = {'b','c','d','e','f','a','y','z','h','i','j'}; x = x(:); y = cell(length(x)+1,1); idx...

fast 12 Jahre vor | 0

| akzeptiert

Beantwortet
Generate a wavelet function?
Wavelets are continuous in time (space) so you can't actually generate them in the MATLAB per se, but you can use wavefun() to s...

fast 12 Jahre vor | 0

Beantwortet
How to Download complete codes that are available as examples in Matlab Documents.
Hi Vijay, you can open each subsystem in the model, vipwarningsigns.mdl, however you will not be able to look at MATLAB code for...

fast 12 Jahre vor | 0

Beantwortet
How to Download complete codes that are available as examples in Matlab Documents.
If you have that toolbox installed (apparently you do because you can run it), then access the documentation within MATLAB >...

fast 12 Jahre vor | 1

Beantwortet
implementation of mean shift filtering for 1 dimensional array
Shailendra, there is a function in the Signal Processing Toolbox peak2peak that will do that. You do have some noise in your ...

fast 12 Jahre vor | 0

Mehr laden