Réponse apportée
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...

plus de 11 ans il y a | 0

Réponse apportée
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 ...

plus de 11 ans il y a | 0

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

plus de 11 ans il y a | 1

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

plus de 11 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 11 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 11 ans il y a | 0

Réponse apportée
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...

plus de 11 ans il y a | 0

Réponse apportée
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(...

plus de 11 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 11 ans il y a | 3

Réponse apportée
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...

plus de 11 ans il y a | 0

Réponse apportée
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...

plus de 11 ans il y a | 0

Réponse apportée
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...

plus de 11 ans il y a | 0

Réponse apportée
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...

plus de 11 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
rand('state',11)
rand('state',seed_number) is an old way of seeding the MATLAB v5 random number generator.

plus de 11 ans il y a | 0

Réponse apportée
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...

plus de 11 ans il y a | 0

Réponse apportée
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...

presque 12 ans il y a | 0

Réponse apportée
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...

presque 12 ans il y a | 1

Réponse apportée
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...

presque 12 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 12 ans il y a | 0

Réponse apportée
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 ...

presque 12 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 12 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 12 ans il y a | 1

| A accepté

Réponse apportée
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));

presque 12 ans il y a | 0

Réponse apportée
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...

presque 12 ans il y a | 0

Réponse apportée
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...

presque 12 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 12 ans il y a | 0

Réponse apportée
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...

presque 12 ans il y a | 0

Réponse apportée
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 >...

presque 12 ans il y a | 1

Réponse apportée
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 ...

presque 12 ans il y a | 0

Charger plus