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
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 ...

1 día 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...

1 día 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; ...

1 día 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...

1 día 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...

2 días 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 ...

2 días 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.

2 días 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...

3 días 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...

4 días 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....

4 días 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)...

5 días 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);...

5 días 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...

7 días 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...

7 días 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...

8 días ago | 0

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...

8 días 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...

8 días ago | 0

| accepted

Answered
Which image processing or filtering is used in this image?
@burcu bilgic, it looks like the image on the right is the complement of the image on the left. J=imcomplement(I) From the hel...

8 días ago | 0

| accepted

Answered
Align smartphone and vehicle using Acceleration and Orientation from Matlab Mobile
@David Stefan, Try the following for the rotation matrix R=: where [0.375561 -0.385512 0.023676]. The matrix Rxyz is de...

9 días ago | 0

Answered
Data treatment: How to use exponential regression types of functions to approximate to a specific model (tobler's hiking function)
@Rúben Ricardo, You have deltaLat(i,:)=(B(i+1,1)-B(i,1))*60*1852; % diferença das latitudes deltaLon(i,:)=(B(i+1,2)-B(i,2))*6...

9 días ago | 1

| accepted

Answered
Align smartphone and vehicle using Acceleration and Orientation from Matlab Mobile
@David Stefan, The information provided is not sufficient to determine the rotation matrix. Also, the data you gave is not con...

9 días ago | 0

Answered
Plotting Wing Surface Through a Grid Point
@Fabio Taccaliti, [edit - fix typo in comment - misspelled Joukowsky] Here is a simple and elegant way to generate a wing prof...

9 días ago | 0

Answered
Plotting Wing Surface Through a Grid Point
@Fabio Taccaliti, I do not understand what is wrong with the final image generated by your code. It looks good to me. The on...

10 días ago | 0

Answered
How to calculate angle between two vectors?
@Ors, My comment above was intended to be an answer. Please accept this answer if it is satisfactory. Here is some code. F=[-2...

10 días ago | 1

| accepted

Answered
How do I plot the FFT of signal from accelerometer
@Harrison Osasogie Edokpolor, Try the code below. It makes the figure below. The figure shows that the oscullaiton frequency...

10 días ago | 0

Answered
How do I plot the FFT of signal from accelerometer
@Harrison Osasogie Edokpolor, Sampling rate is fs=833 Hz and there are N=1110 samples. (I deleted line 1 since it has only one...

10 días ago | 0

Answered
least square method with multible unkonwn
@Rolfe, I will look at this later this week, if you do not have an answer by then. Below is a part of an analysis I did related...

14 días ago | 0

Answered
Integration of the expected value
@Yuriy, I'm not sure I understand. Is a uniformly distributed random variable, or is the expected value of p, which is a unif...

14 días ago | 0

Answered
Periodic input to ODE solver
@Eric Scott, Create a smooth pulsatile input signal with a specified non-zero duration. Add it to your ODE. For example, consi...

15 días ago | 0

| accepted

Answered
Quadratic extrapolation on a dataset
@Aristo, Yes it is possible. Three points define a quadratic equation. The quadratic equation that passes through (x1,y1), (x...

22 días ago | 0

Load more