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

10 years ago | 0

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

10 years ago | 0

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

10 years ago | 1

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

10 years ago | 1

| accepted

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

10 years ago | 1

| accepted

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

10 years ago | 0

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

10 years ago | 0

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

10 years ago | 1

| accepted

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

10 years ago | 3

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

10 years ago | 0

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

10 years ago | 0

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

10 years ago | 0

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

10 years ago | 1

| accepted

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

10 years ago | 0

| accepted

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

10 years ago | 0

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

10 years ago | 0

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

10 years ago | 0

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

10 years ago | 1

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

10 years ago | 0

| accepted

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

10 years ago | 0

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

10 years ago | 0

| accepted

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

10 years ago | 0

| accepted

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

10 years ago | 1

| accepted

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

10 years ago | 0

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

10 years ago | 0

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

10 years ago | 0

| accepted

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

10 years ago | 0

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

10 years ago | 0

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

10 years ago | 1

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

10 years ago | 0

Load more