781 total contributions since 2012

DISCLAIMER: Advices or Opinions posted are from author , and do not reflect that of MathWorks.

Files are listed in :

http://www.mathworks.com/matlabcentral/fileexchange/index?utf8=%E2%9C%93&term=authorid%3A264099

Answered

Distance formula using while loop

In the given formulae, are the variables vectors? if it is the case, then you need to use index in the loop for each variable to...

Distance formula using while loop

In the given formulae, are the variables vectors? if it is the case, then you need to use index in the loop for each variable to...

meer dan een jaar ago | 0

Answered

reading frequency from fft

The first part of the program is correct, the result is 100 Hz: Fs = 65536; % Sampling Frequency (Hz) Ts = 1/Fs; % Sampli...

reading frequency from fft

The first part of the program is correct, the result is 100 Hz: Fs = 65536; % Sampling Frequency (Hz) Ts = 1/Fs; % Sampli...

meer dan een jaar ago | 0

Answered

Generating wavepackets in MATLAB

Among the methods for generating wavepackets is linear superposition, considering the spatial dimension x, an elementary complex...

Generating wavepackets in MATLAB

Among the methods for generating wavepackets is linear superposition, considering the spatial dimension x, an elementary complex...

meer dan een jaar ago | 1

| accepted

Answered

Randomly select samples from a matrix in proper order

The selection procedure can be performed by ordering the inputs from the smallest to the largets, here is an example, a vector o...

Randomly select samples from a matrix in proper order

The selection procedure can be performed by ordering the inputs from the smallest to the largets, here is an example, a vector o...

meer dan een jaar ago | 0

Answered

create a new matrix with elements from different sized matrices

By computing the difference between the two matrices A and B, find the indexes of the entries that equal zero and replace the en...

create a new matrix with elements from different sized matrices

By computing the difference between the two matrices A and B, find the indexes of the entries that equal zero and replace the en...

meer dan een jaar ago | 0

Submitted

J-V characteristic of solar cell

Current density and voltage Charateristic of solar cell using electron diffusion model

ongeveer 4 jaar ago | 6 downloads |

Answered

Need help on designing plot

defining the variable is the first step : x=0:pi/100:20*pi; using element wise operation : y=x.*sin(x); z=x.*cos(...

Need help on designing plot

defining the variable is the first step : x=0:pi/100:20*pi; using element wise operation : y=x.*sin(x); z=x.*cos(...

meer dan 4 jaar ago | 0

| accepted

Answered

How can i compute inverse of 3-dimensional matrix?

There is misunderstanding between the question and the provided example, according the question, Jhon's answer is correct, three...

How can i compute inverse of 3-dimensional matrix?

There is misunderstanding between the question and the provided example, according the question, Jhon's answer is correct, three...

meer dan 4 jaar ago | 0

Answered

How Fourier Synthesis is performed using Matlab ?

Fourier synthesis is simple application of coefficients summation either numerically or symbolically, Fourier decomposition requ...

How Fourier Synthesis is performed using Matlab ?

Fourier synthesis is simple application of coefficients summation either numerically or symbolically, Fourier decomposition requ...

meer dan 4 jaar ago | 2

Submitted

3D Brownian Motion

Fast simulation of three dimensional Brownian motion

meer dan 4 jaar ago | 2 downloads |

Answered

Write a function that takes a vector xyz and returns as output two variables

try : function [Mav,Err]=myAver(u) % hint : use sum, length, std,...

Write a function that takes a vector xyz and returns as output two variables

try : function [Mav,Err]=myAver(u) % hint : use sum, length, std,...

meer dan 4 jaar ago | 0

Answered

Variable Sampling Frequency Interpolation-hrv

An alternative solution exists using resample(x,p,q) function where the new signal is sampled with p/q times the original sampli...

Variable Sampling Frequency Interpolation-hrv

An alternative solution exists using resample(x,p,q) function where the new signal is sampled with p/q times the original sampli...

meer dan 4 jaar ago | 0

Answered

Filtering a set of recorded data

The important part of the problem is the implementation of MA filter, here is an example of 6 points window, fs=80; t=0:1...

Filtering a set of recorded data

The important part of the problem is the implementation of MA filter, here is an example of 6 points window, fs=80; t=0:1...

meer dan 4 jaar ago | 0

Answered

Trouble with Envelope Functions

try the following basic solution using Hilbert transform : fs=40; t=0:1/fs:4-1/fs; f=15; y=1.5*sin(2*pi*f*t).*exp(-1.1*...

Trouble with Envelope Functions

try the following basic solution using Hilbert transform : fs=40; t=0:1/fs:4-1/fs; f=15; y=1.5*sin(2*pi*f*t).*exp(-1.1*...

meer dan 4 jaar ago | 1

Answered

how can i plot spherical coordinate?

plotting in the same yields to polar coordinates, try polar(theta,rho); if it is different than the above case, explain ...

how can i plot spherical coordinate?

plotting in the same yields to polar coordinates, try polar(theta,rho); if it is different than the above case, explain ...

meer dan 4 jaar ago | 0

Answered

Matlab - FFT/PSD Problem for Preemphasis

I think the first question is not well interpreted, maybe it consists of generating noisy version of y instead of white noise, i...

Matlab - FFT/PSD Problem for Preemphasis

I think the first question is not well interpreted, maybe it consists of generating noisy version of y instead of white noise, i...

meer dan 4 jaar ago | 0

Answered

Matlab - FFT/PSD Problem for Preemphasis

When using the reverse fft function, we take the real part, in one of the equations H.*G is not necessary since G=H.^-1, another...

Matlab - FFT/PSD Problem for Preemphasis

When using the reverse fft function, we take the real part, in one of the equations H.*G is not necessary since G=H.^-1, another...

meer dan 4 jaar ago | 0

Answered

how to compare histograms

Many approaches exist for this purpose, the easiest way is the root mean square error metric, the minimum value means best match...

how to compare histograms

Many approaches exist for this purpose, the easiest way is the root mean square error metric, the minimum value means best match...

meer dan 4 jaar ago | 0

Answered

Filter of sin component of sound signal

Concerning the equation of y, can you explain its origin. As for the error, initial condition must be set : y=zeros(size(x))...

Filter of sin component of sound signal

Concerning the equation of y, can you explain its origin. As for the error, initial condition must be set : y=zeros(size(x))...

meer dan 4 jaar ago | 0

Answered

Hi all. I need to plot a Fast Fourier Transform(FFT) of a sinc function

Let us consider non causal function, we can use built in function as follows : Fs=42;Ts=1/Fs; t=-1:Ts:40*Ts-Ts; f=5; y...

Hi all. I need to plot a Fast Fourier Transform(FFT) of a sinc function

Let us consider non causal function, we can use built in function as follows : Fs=42;Ts=1/Fs; t=-1:Ts:40*Ts-Ts; f=5; y...

meer dan 4 jaar ago | 1

Answered

How to derivate a vector

additionally to the above answers, the simplest way to evaluate the polynomial is via anonymous function : f=@(x) x.^2+x-1...

How to derivate a vector

additionally to the above answers, the simplest way to evaluate the polynomial is via anonymous function : f=@(x) x.^2+x-1...

meer dan 4 jaar ago | 0

Answered

Preventing all [x,y] figures appearing when running a plot of a circle

Adding semi column (;) for all instructions inside the function will prevent the printing of values.

Preventing all [x,y] figures appearing when running a plot of a circle

Adding semi column (;) for all instructions inside the function will prevent the printing of values.

meer dan 4 jaar ago | 0

Answered

How can i set (f) = (-60/(s^2+5s+48.5))?

Element wise operation fixes the error : f=-60./(s.^2+5*s+48.5);

How can i set (f) = (-60/(s^2+5s+48.5))?

Element wise operation fixes the error : f=-60./(s.^2+5*s+48.5);

meer dan 4 jaar ago | 0

Answered

Trying to make a function for summing up 3 numbers. Explaination below

This function works for a vector of length n, with second logical output according to the description : function [Logical...

Trying to make a function for summing up 3 numbers. Explaination below

This function works for a vector of length n, with second logical output according to the description : function [Logical...

meer dan 4 jaar ago | 0

Answered

How to I get a threshold value from looking at histogram

Otsu's method exists as built in function with name *graythresh*, here is an example taken from Mathworks help page : I = i...

How to I get a threshold value from looking at histogram

Otsu's method exists as built in function with name *graythresh*, here is an example taken from Mathworks help page : I = i...

meer dan 4 jaar ago | 1

Answered

Matlab analytical FT and FFT comparison

numerical fft requires a shift if we want to visualize the spectrum with both negative and positive frequencies, scaling problem...

Matlab analytical FT and FFT comparison

numerical fft requires a shift if we want to visualize the spectrum with both negative and positive frequencies, scaling problem...

meer dan 4 jaar ago | 0

Answered

Trying to make a function for summing up 3 numbers. Explaination below

the following answer is an alternative approach without using 'getdigits' function : function [C,y]=sum3(x) h=int2st...

Trying to make a function for summing up 3 numbers. Explaination below

the following answer is an alternative approach without using 'getdigits' function : function [C,y]=sum3(x) h=int2st...

meer dan 4 jaar ago | 0

| accepted

Answered

Driven Damped Pendulum Axes Question

The implementation is acceptable, the first remark is that visualization commands of results should be outside the loop, otherwi...

Driven Damped Pendulum Axes Question

The implementation is acceptable, the first remark is that visualization commands of results should be outside the loop, otherwi...

meer dan 4 jaar ago | 0

| accepted

Answered

Is 'newplot' the reason why 'image' and 'plot' are no longer working on my computer?

In previous version of software it works correctly, if you have used the name 'image' for your constructed function, rename it. ...

Is 'newplot' the reason why 'image' and 'plot' are no longer working on my computer?

In previous version of software it works correctly, if you have used the name 'image' for your constructed function, rename it. ...

meer dan 4 jaar ago | 0

Answered

Adding white gaussian Noise to 1D signals

To produce a unique sequence of white Gaussian noise, you need to reset the sate as follows : x=sin(2*pi*0.2*(0:0.1:10));...

Adding white gaussian Noise to 1D signals

To produce a unique sequence of white Gaussian noise, you need to reset the sate as follows : x=sin(2*pi*0.2*(0:0.1:10));...

meer dan 4 jaar ago | 0

| accepted