Community Profile

photo

William Rose


Active since 2007

Statistics

All
  • 6 Month Streak
  • Knowledgeable Level 5
  • Revival Level 3
  • Pro
  • Thankful Level 3
  • Personal Best Downloads Level 1
  • First Review
  • 5-Star Galaxy Level 1
  • First Submission
  • First Answer

View badges

Content Feed

View by

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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=Agg_load_1(1:2:end-1)+Agg_load_1(2:2:end); disp(Agg_load_1...

10 days ago | 0

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

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

19 days ago | 0

Answered
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

Answered
Don't get what is happening in matlab sin() function. need to know difference between sin(2*50*pi*t) and sin(2*1*pi*t)
@AK Nahin, In your original code, you were evaluating sin(t) at integer multiples of pi, and therefore sin(t)=0 at each point. ...

19 days ago | 1

Answered
Rain attenuation model based on ITU-R P.838-3 Recommendation
@SAM, freq=[1:1000]*1e9; Rr=[0.25, 1.25, 5, 25, 50, 100, 150]; for i=1:7 L=rainpl(10000,freq,Rr(i)); loglog(freq/1...

19 days ago | 1

Load more