Community Profile # William Rose

Active since 2007

#### Statistics

All
• • • • • • • • • • #### Content Feed

View by

Triangle inequality for Gausisian Random Variable
@Ahmad Khalifi, N=10; R1=zeros(N,1); %to record the results R2=zeros(N,1); for T=1:N h=randn(1,2)+1i*randn(1,2); %this ...

2 days ago | 1

| accepted

Loop through a matrix and an equation
@Mohamed Asaad, clear y_i = [72.1 165.14 32.56 135.84 77.7 208.11 33.57 174.57 147.19... 147.44 147.05 208.54 -117.16 80....

2 days ago | 0

Loop through a matrix and an equation
@Mohamed Asaad, I assume that when you wrote "the second belongs to P" you meant to write "the second belongs to T". Your equa...

2 days ago | 0

adding awgn noise to an audio signal and removing noise by wiener filter
@GARIKIPATI VENKATA, include the file extension in the file specificaiton for audioread and audiowrite. fs=44100; ...

2 days ago | 0

Doubts about digital signal processing methodology
@Chiranjeevi Viswa Teja Jupudi, Is the first time-domain Acc signal which you plotted the raw signal? Or is the plotted Acc sig...

4 days ago | 1

Create a loop which rolls the dice 100 times, stores the sum of all rolls in a variable and then plots a histogram of the sums.
@Baila, Unlike many post-ers, you have made an attempt, which is laudable. S = 6; R = 1; N = 2; T = 100; %out = randi([1 S...

4 days ago | 0

Work calculation from applied pressure
@Miraboreasu, You ask "How can I calculate the work has been done by pressure p". Do you mean the work done from time t=0 to t...

4 days ago | 0

| accepted

fit custom equation to dataset
@Julie Christoffersen, Different methods for fitting a nonlinear function (such as your nonlinear function) are at risk of find...

9 days ago | 0

| accepted

How can I calculate euclidian distance in RGB spaces for a skin lesion ?
@Ioanna St, Since there is a file missing which I need to run your code, I will just give a few suggesitons. Post the simplest...

9 days ago | 0

Curve Fitting Toolbox for Surface Extrapolation
@Tamas, I think interp2() is good. Vq = interp2(X,Y,V,Xq,Yq) Try it.

10 days ago | 0

Matlab Script that I can add a Gaussian Noise to a Discrete Wavelet Transform processed fault signal
@John Amoo-Otoo, If you have a fault signal x(t), processed by a DWT (or not), add Gaussian noise as shown. s=1; ...

10 days ago | 0

| accepted

I'm trying to sum every two row and store the answer in new matrix, but the code keep giving me the wrong sum and copy the wrong answer in all the row of the new matrix.

10 days ago | 0

I'm trying to sum every two row and store the answer in new matrix, but the code keep giving me the wrong sum and copy the wrong answer in all the row of the new matrix.
@ibrahim nathem, Agg_load_1=10*rand(8,1); N=length(Agg_load_1); s=zeros(floor(N/2),1); %allocate array for the sums of 2 elem...

10 days ago | 0

how to calculate the capacity loss of a battery?
@sandeep, [edit: correct speklling mistake] Your model formulation looks good. You write Qloss(%)=(nominal capacity-discharge ...

11 days ago | 0

| accepted

How to make a global matrix
@Robert Fields, %global system e=cat(3,a,b,c,d); disp(size(e)) Try that.

11 days ago | 0

How simulate the different body posture related to WBAN?and want to find the distance between 15 sensors deployed on body
@Ansar Shah, It can get very complicated! As @Walter Roberson pointed out, the mode of signal propagation (through body or on ...

11 days ago | 1

how to save coordinates in a text file?
@youssef hany, I do not see the matrix of selected points which you want to save. Maybe that is the problem. Here is an exampl...

11 days ago | 0

| accepted

what is my problem using split operator methods on gaussian wave packet time evolution in free space
@Daniel Niu, Plot abs(u), instead of u, and you will see that the transformed signal is still Gaussian, as expected. .

11 days ago | 0

Why do I received Error using Plot?
@Sofea Irene, I have moved my comment to be an answer, as I originally intended, and I have added to it. [edit: correct spellin...

11 days ago | 1

| accepted

How do I plot an image in Log-Log axis?
@Tomas Carvalho, I canot run your code since I do not have findcategory(). I made usg and usl slightly different lengths to be...

13 days ago | 0

I want to draw a scatterplot but there's a problem about range of color
@SungJin Jang, I am not sure what color scheme you are trying to accomplish. Your present code assigns color to each point wit...

14 days ago | 0

Looking for a existing or any sensor fusion algorithm that gives quaternions(orientation) as output using Accelerometer and Gyroscope readings as inputs?
@Revanth Kumar Adireddy, I was asked to help determine head angular and linear acceleration during soccer heading. The data ca...

14 days ago | 0

Fitting a hyperbola through a set of points
@Ravi Mudragada, The columns in the workbook are 12 long for P1, I1. The columns are 11 long for P2,I2. When readtable() reads...

15 days ago | 0

Corrupt the signal with zero-mean white noise with a variance of 4.
@KYRIAKOS PIPIGKAS, I am sorry to hear in your comment that you have been struggling with this prblem for a long time. You said ...

17 days ago | 0

How can I add air-ater interface in the acoustic source localization examples?
@Upinder Kaur, Apply Snell's law for refraction. and Set index of refraction=1 in the faster medium: and Then For...

19 days ago | 0

How to calculate sway area rate for center of pressure
@chris pamp, You are welcome. Best wishes for your research.

19 days ago | 0

Corrupt the signal with zero-mean white noise with a variance of 4.
@KYRIAKOS PIPIGKAS, As @dpb said, it would help to know the context of the statement. Adding random noise to a signal can be u...

19 days ago | 1