Community Profile

photo

William Rose


Active since 2007

Statistics

All
  • Pro
  • Thankful Level 2
  • 3 Month Streak
  • Revival Level 2
  • Knowledgeable 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
Solve a System of five non linear equation
@vaggelis papasot, You can get numeric values for the unknown quatities by using fsolve() and by not using "syms". Rewrite your...

alrededor de 3 horas ago | 0

Answered
How to obtain noise
@ANDRES FELIX CHAVEZ, I have attached a real EKG signal which I have on my computer. I don't recall where it came from, or wha...

1 día ago | 0

Answered
how to break large data into groups and run same steps in a loop for each group?
[I have moved this answer from the Comments to the Answers.] @Pragya Dhungel, N=20; x=zeros(N); %create N by N array for i=...

1 día ago | 0

Answered
Impulse response of a FIR-filter in Matlab
@Arjun Suhass, YOu can figure it out theoretically or by experiment. Theoretical: The Matlab help for filter() says: In ...

1 día ago | 0

Answered
How do I calculate the time it takes to filter the signal in my code? (FIR filter)
@Samuel Pappalardo tic for i=1:1000 for j=1:1000 x=besselj(3,i+j/1000); end end toc tic starts the clock...

1 día ago | 0

Answered
How can i get prediction Bounds from curve fitting?
@David Nielsen-Franco, I generated some data: t=0:20; c=1; k=0.4; s=0.1; CAs3=c*exp(-k*t)+s*randn(size(t)); plot(t,CAs3,'rx')...

1 día ago | 0

| accepted

Answered
how to break large data into groups and run same steps in a loop for each group?
@Pragya Dhungel, The commands you gave create an array which is 1 row by 400000000 columns. To illustrate, let us reduce the s...

2 días ago | 0

Answered
How to solve a Bernoulli Equation
@KarolN, We have the following equation for tubulent flow in a rectangular channel, or canal: Eq.1. I assume that h1 an...

3 días ago | 0

| accepted

Answered
How to solve a Bernoulli Equation
@KarolN, The pipe under the dam appears to be horizontal. I assume that R is the pipe diameter and that is its length and tha...

4 días ago | 0

Answered
How do I convert a 2d matrix to a 3d matrix and vice versa efficiently?
@Yeon-Mo Yang, A(:,:,1) = [1 2;3 4;5 6]'; A(:,:,2) = [10 20;30 40;50 60]'; A(:,:,3) = [11 21;31 41;51 61]'; A(:,:,4) = [100 ...

6 días ago | 1

Answered
A non centered method to compute velocity derivative
@Jacopo Rossi, [edited to crrect typographical errors] If you use a non-centered-to-the-right method, you will have issues on ...

8 días ago | 0

| accepted

Answered
Create a Rayleigh distribution fitting experimental data
@DANIELE PASINI, very interesting. The autocorrelation shows some ringing at a period of about 16 samples, i.e. some kind of re...

9 días ago | 0

Answered
Create a Rayleigh distribution fitting experimental data
@DANIELE PASINI, [I edited this comment to correct typographical errors.] histogram(peaks) plots the number of occurences of...

10 días ago | 0

Answered
Convert a table of S param to Z param
@Venkatkumar M, How do you know s2z does not work? Do you get an error message, and if so, what? The input to s2z must be comp...

10 días ago | 0

| accepted

Answered
Create a Rayleigh distribution fitting experimental data
@DANIELE PASINI, I plotted your data. name='Cartel1'; data=load(name); Data=data.data; %extract array 'data' from the stru...

11 días ago | 0

| accepted

Answered
Create a Rayleigh distribution fitting experimental data
@DANIELE PASINI, here is code with simulated data to demonstrate. As others have said, your data may not be appropriate for Ra...

11 días ago | 0

Answered
Unexpected power spectrum of a signal with uniform random amplitude values
@Vlad Atanasiu, You are correct that the power spectrum of a random signal is expected to be approximately flat. However, the ...

18 días ago | 0

| accepted

Answered
Hi, can anyone help me to program a code for the equation with initial and boundary conditions using finite difference method
@Nur Nadhirah Syed Malik, See attached. I have left out some parts, because this sounds like a homework assignment, and you wil...

28 días ago | 0

Answered
About FFT of a wave
@Daniel Wanesh, Fm = 2*10^6; Em = 4; t = 0 : 5.5*10^-7 : 1*10^-4; ym = Em.*cos(2*pi*Fm*t); Ym=fft(ym); %compute the disc...

28 días ago | 0

| accepted

Answered
How to assess frequency stability of sung notes while keeping frequency precision under the possiblity that a vibrato (frequency modulation) is present.
@Jonas, I put my notebook computer on a piano and reorded while I played the notes CDEFGA. File attached. I used this file as an...

29 días ago | 0

| accepted

Answered
Curve fitting with two variables
@Kishor Kumar Johari, Here is a sample solution. It uses calcZ(), which I posted previously, and it uses the simulated data fi...

30 días ago | 0

Answered
How to assess frequency stability of sung notes while keeping frequency precision under the possiblity that a vibrato (frequency modulation) is present.
@Jonas, Are you willing to post an example file of such a recoridng? Do you have an external reference signal, like a trigger,...

alrededor de 1 mes ago | 0

Answered
Skip analysis when you have NaN or 0
@luccas santos, a=1; %try replacing "1" with "0" or "NaN" if ~(isnan(a) || a==0) disp('a is not NaN and is not 0.') els...

alrededor de 1 mes ago | 1

Answered
Adding sine signal to dynamic signal
@Nurullah Çetin, dt=0.5; %time step (s) t=0:dt:100; %time (s) tlag=10; %lag (s) x=rand(1,length(t)); y=z...

alrededor de 1 mes ago | 0

Answered
Similarity Comparison to Determine Accuracy
@mustafa can Kurt, The image you provided only shows two bad and two good examples. Even if we had four examples of each, thi...

alrededor de 1 mes ago | 1

| accepted

Answered
How can I record the values of pa and p0 in a table in this code?
@M G, see attached. It runs. It produces the console output below. It also produces the plot below. There are comments in th...

alrededor de 1 mes ago | 1

| accepted

Answered
How do you perform generic value in MATLAB?
@Luiz Fernando Vieira dos Santos, What is "fi()" in the first line of your code? I am not sure I understand your question. ...

alrededor de 1 mes ago | 0

Answered
Red freq audio file
@Blue MU, Sounds like a good project. Your code looks like a good first step. What happens when you run your code? Do you get...

alrededor de 1 mes ago | 0

Answered
How can I record the values of pa and p0 in a table in this code?
@Mustapha Gharib, plot(pa35/133.322,p035/133.322,'ro') The command above wil work if pa35 and p035 are vectors of the same len...

alrededor de 1 mes ago | 1

Answered
Getting different plot ranges
@Nathaniel Porter, T=readtable('glucose.csv'); %read file into table T You will see that T has columns named date, time, gluc...

alrededor de 1 mes ago | 0

| accepted

Load more