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
How to simulate Poisson Distribution Process?
@Safia Yes. You can usee the binomial (or is it Bernoulli?) approximation: Chop each minute into N equal segments, where lambda...

12 hours ago | 1

Answered
Matrix containing results of polynomial function
@paul, I assume you have 6 (x,y) pairs and a quadratic fit. Your equations show A(2,1) and A(1,1) both multiplying series(1,:)...

12 hours ago | 0

Answered
How to find mean and errorbars for scatter plot at various x values.
@Charlie Milford I don't understand the organization of Mat1 and Mat2. There are 13 x-values repeated many times among the 501...

1 day ago | 1

Answered
How to plot a function on a 3D sphere?
@Wiqas Ahmad, [edit-correct typo] I cannot run the simplified code in your comment. That code seems to rely on P11 and P12 com...

1 day ago | 0

Answered
Make a loop from this code
@John, Perhaps you want to do a speed test comparing the vectorized code inyour function to a for-loop equivalent. Your code f...

1 day ago | 0

Answered
Can complex non linear circuits be simulated using matlab code?
@Md. Golam Zakaria, Yes, this task can be done in Matlab. You have provided an outline of the outer and inner loops. Matlab h...

9 days ago | 0

|accepted

Answered
Bar plot command to get results same as in PowerGUI FFT analysis bar (relative to fundamental)
@Michal Przybylski, What is this for? I ask because I have been guilty of providing too much assistance on this site to people...

9 days ago | 0

Answered
我有一个非常简单的马尔可夫链,我想知道ing if there is a simplified equation for times spend in each state
@nobody, [edit: added a note about possibility of more than one equilibrium state] Let's note that your matrix would be applie...

15 days ago | 0

Answered
Parameterize overlapping - cpsd()
@Amanda Santos, [edit: correcting my recommendation from overlap=floor(...) to overlap=ceil(...)] Yes this is reasonable. Yo...

15 days ago | 1

Answered
I want to be able to calculate and plot the total interest if the extra payment each month is changing
@Jacob Wagner, Please add lots of comments to your code. Especially when you are asking for help. This will allow other to und...

16 days ago | 0

|accepted

Answered
iterative equation two unknown for parachute
@Suleyman Sahin, [edit: correct typographical errors] If you have 2 independent equations and 2 unknowns, you can solve. Matl...

19 days ago | 0

|accepted

Answered
Controlled Flight Into Terrain (CFIT)
@Manuel, Suppose you have an array whose values are the terrain elevations. For example: Elev=1000*membrane(1,300); %sam...

20 days ago | 2

|accepted

Answered
I want to use MPPT In Wind system ?
@mekimah nabil, The yield is typically over a fixed time period such as one hour or one day. The units are energy - typically ...

20 days ago | 0

Answered
Finding peak of a noisy data
@mpz data=load('noisy.mat'); t=data.ans(:,1); x=data.ans(:,2); %extract the data plot(t,x,'-b'); grid on; hold on %plot ...

21 days ago | 0

Answered
Finding peak of a noisy data
@mpz, I see that you have experimented with some of the many options in findpeaks(). You may need to combine the options to re...

21 days ago | 0

Answered
Using pca function to reconstruct vectors within and outside test set
@nms09, The code v1 = zeros(200, 200); cons = abs(rand()*10); for u = 1: 200 for v = 1:200 v1(u, v) = cons; ...

21 days ago | 0

Answered
[HELP] Statistics in MATLAB - Two way Mixed anova or something else ?
@John Doe, You're welcome. Thank you for your kind comment. To determine if treatment 1 is better than treatment 2 or treatm...

22 days ago | 0

|accepted

Answered
How apply the conformal mapping? (circle to rectangular)
@Changwoo Lee, Is this a homework problem? The figure has an inconsistency. The left hand side shows a light blue region whos...

22 days ago | 1

|accepted

Answered
I'm having trouble plotting the temperature field for a thin plate with border temperatures known.
@Lucas Resende, theta1 has dimensions 5x5. You define it with a loop over n=1:100. SInce there is no index in the assignment ...

22 days ago | 0

Answered
[HELP] Statistics in MATLAB - Two way Mixed anova or something else ?
@John Doe, Please consider my second comment below my answer. I meant to post it as an answer.

22 days ago | 0

Answered
Spectrogram Audio Movement Detection
@LabRat, You asked: "Is there an easy way to automatically detect..." No. There is not an easy way. As you know, a spectrogr...

23 days ago | 1

Answered
how to convert the seismic wave data in Excel to Fourier spectrum using filtering and sampling
@Changhyun Kim, In the script you posted, the first plot you generated was over-written by the second plot you generated. Addi...

25 days ago | 0

Answered
how to convert the seismic wave data in Excel to Fourier spectrum using filtering and sampling
@Changhyun Kim., [edit: I adjusted the frequency-domain filtering to make the filtered X symmetric about the Nyquist frequency....

25 days ago | 0

|accepted

Answered
Create ring mesh with specified size
@Lawson Bailey, Here is a ring-shaped mesh. Just for the heck of it, I have assigned a z-height as follows: where hw=(ro-ri)...

25 days ago | 0

Answered
how to convert the seismic wave data in Excel to fourier spectra
@Changhyun Kim data=xlsread('GYEONGJU(MKL).xlsx'); N=length(data); t=data(:,1); %vector of times (s) x=data(:,2);...

25 days ago | 0

Answered
How can I locate and extract the data of a specific parameter (i.e. blood velocity, TAMEAN) from a DICOM file?
@Myrthe Stalmans, I might be able to help. I have recorded Doppler ultrasound blood flow data from femoral, carotid, radial, b...

28 days ago | 0

Answered
please, I want someone to help me with MATLAB code for solving the non linear constrained equation as given below
@Ezra Dzarma, [edit: added lines to display -f(x) and constraint 1 at the solution point.] Please carefully read the help for...

28 days ago | 0

|accepted

Answered
How to plot 3D plot from polar plot
[moved this from Comment to Answer as I had originally intended] @David Harra, Please post the simplest possible code fragmen...

28 days ago | 0

|accepted

Answered
Why does smoothdata give bad results at the beginning and end of a dataset?
@Rick Yuan, [edit: change "on one side" part of my description to "inside" and "outside", which is more clear, I hope] You are...

28 days ago | 2

Answered
1D Heat Conduction using Eulers Explicit discretisation
@Yashraj Randad, Note that length(x)=21, but your n=20. This causes problems. I recommend that you initialize a bit different...

28 days ago | 0

|accepted

Load more