Community Profile

photo

William Rose


Attivo dal 2007

Statistics

All
  • 12 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

Visualizza badge

Content Feed

Visto da

Risposto
ODE23s Solver "Not enough input arguments"
@ephoi, Your code: global sweep Pp C1 C2 Pt theta % constants r0=2e-5; % Radius of the tube without membrane, [m] Ri...

11 giorni fa | 0

| accettato

Risposto
How to fit curves with two variables to equation?
@Amadeus Wolf, please post the data (the three matrices) which you are trying to fit: k and c/c0 and v. [edit: Remove reference...

12 giorni fa | 1

Risposto
How do I register or stitch multiple sub-images together into a larger image using unique fiducial features with rigid transformation?
@gwoo, Use xcorr2(). See the example here: Align two images using cross correlation Determine the best alignment of image 1 ...

17 giorni fa | 0

Risposto
Create a square grid with some random points inside that follow the poisson distribution and use each of these points as a starting point for my function
@george korris, If you place a point at random in the unit square with rand(), then the the distribution of points inside small...

17 giorni fa | 1

| accettato

Risposto
How to transform a set of lines to a set of circles using möbius transformation?
@Niloufar, [edit: fix typos in my text; code is unchanged] Your image does not include a scale or (more importantly) an indica...

18 giorni fa | 0

| accettato

Risposto
How to get the spectrum plot of a 5G NR signal generated by MATLAB?
@Susan, I downloaded and unzipped the large data file, waveform.mat, using the link you provided. I see that the signal is com...

18 giorni fa | 1

| accettato

Risposto
What filtration should be used for a respiratory signal between 5 and 60 breaths per minute?
@Pawel Slazak, %% Load data a=importdata('RAW_signal.txt'); x=a.data(:,1); %x=channel 1 fs=25; ...

18 giorni fa | 0

| accettato

Risposto
What filtration should be used for a respiratory signal between 5 and 60 breaths per minute?
@Pawel Slazak, pease attach the raw data. Please explain what your goal is, because this will determine what approach to take...

19 giorni fa | 0

Risposto
Take X Y Z coordinates and calculate kinetic energy
@Daanish Qureshi, The solution you described sounds good. It is implicit in your proposed solution that the particles do not i...

19 giorni fa | 0

Risposto
How to shift experimental data (not a function) in a loglog plot?
@Alfredo Scigliani, Multiply all y-values of the trace in quesiton by a constant. This will cause a parallel vertical shift on a...

25 giorni fa | 1

Risposto
What is the efficient way to loop though a multidimensional array in matlab?
@venu, Be sure to allocate all arrays and vectors before doing the looping. I don't think the order of looping will have a sig...

25 giorni fa | 1

Risposto
Scatter chart with colours from dark to light along the x-axis and blue to red along the y-axis
@T, b = [0 0 1]; % Blue r = [1 0 0]; % Red %x =[27.5 26.8 68 70.5 43.5 45.2 72]; %y = [7.2 3 7.9 1.7 4.23 1.057 0.89]; x ...

25 giorni fa | 2

| accettato

Risposto
How to detect stride cycle of EMG with GRF data?
@Mario, You said in your original post that the EMG data was sampled at 2 kHz. You said in your comment: "I understand the Hz ...

26 giorni fa | 0

Risposto
How to detect stride cycle of EMG with GRF data?
@Mario, [Edit: change sampling frequency from 5000 to 500] You already have the binary vectors for left contact, right contact...

27 giorni fa | 0

Risposto
How can I align multiple curves on one plot to a central point?
@OmartheEngineer, It would help if you would attach the actual data as a .mat file or a text file for easy import. Your choce ...

27 giorni fa | 1

Risposto
Plot mean frequency of EMG signals
@Prawee Pongsing, Alty & Georgakis (2011), whom you cite, use their eqn.7 to compute the mean frequency. You do not have to ...

27 giorni fa | 1

| accettato

Risposto
Scale 2D coordinates with respect to the centroid
@Alberto Acri, Let's call the curves "curve a" and "curve b". You want to map Xa1=194.887 to Xb1=222, and Xa2=320.887 to Xb2=2...

27 giorni fa | 1

Risposto
How to create a hysteresis loop
@Alethia, [I moved my code to the "Answer" section, which is where I should have posted it initially.] I relaize that you have...

27 giorni fa | 0

Risposto
1D heat conduction equation with FTCS method
@Mücahid, Since this is a homework problem, I will give some suggestions. The article here has a good description of the FTCS...

circa un mese fa | 0

Risposto
How to find the 5 minimum values in a multidimensional matrix and the indices to which these entries correspond.
@Charles Howman, A=rand(3,4) [r,c]=size(A); k=5; %number of values to find [minval,idx]=mink(reshape(A,[],1),k); minrow=mo...

circa un mese fa | 0

Risposto
How to solve gimbal lock logically?
@Kang Geonhui, My lecture notes on rotation matrices are attached. Lectures 2 and 3 include discussion of helical angles. The...

circa un mese fa | 2

Risposto
How to solve gimbal lock logically?
@Kang Geonhui, Yes, your plot illustrates what happens when you are near "gimbal lock". Interpolation is not a good idea. ...

circa un mese fa | 2

| accettato

Risposto
Find Yaw and Pitch of center point of a line segment with respect to static frame
@VR, It is not possible to "calculate the position and orientation (roll, pitch, yaw) of the center point". A point does not h...

circa un mese fa | 0

| accettato

Risposto
How to write a for loop to generate a new set of initial conditions based on a input value that changes over different time intervals.
@Ron_S, See attached code. I think you will be able to uunderstand what I have done by comparing the code to your version. It...

circa un mese fa | 0

| accettato

Risposto
Calculate spectrogram with logarithmic-spaced frequencies
@dormant, I agree that the bottom plot in your example, which should have the frequencies evenly spaced on a log scale, appears ...

circa un mese fa | 0

Risposto
rotated plot gone wrong
@Sonia, Change [w,rh]=freqz(h,1,64); to [rh,w]=freqz(h,1,64); Good luck.

circa un mese fa | 1

Risposto
A function related with speed light and time
@Lewis HC, It is nice to see that you have made an attempt before posting your question. @Walter Roberson is exactly right as ...

circa 2 mesi fa | 0

| accettato

Risposto
Cross-correlation signal alignment
@Albert Zurita [edit: Add comment about circular correlation; correct typos.] You need to use a circular correlation, because ...

circa 2 mesi fa | 0

| accettato

Risposto
How to graph cdf?
@Estela, I agree with the comments of @John Morris. The probability that a random number generator for a continuous distributi...

circa 2 mesi fa | 0

Risposto
How to find the QRS complex for this ECG signal?
@Susan, Perhaps the comments above constitute an answer to your question. ECGs=load('ECG'); ECG=ECGs.ECG; L = numel(ECG); t...

circa 2 mesi fa | 0

| accettato

Carica altro