Community Profile # William Rose

#### Statistics

All
• • • • • • • • • • #### Content Feed

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

10 days 前 | 0

| 已接受

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

11 days 前 | 1

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

16 days 前 | 0

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

16 days 前 | 1

| 已接受

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 days 前 | 0

| 已接受

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 days 前 | 1

| 已接受

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 days 前 | 0

| 已接受

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

18 days 前 | 0

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

18 days 前 | 0

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

24 days 前 | 1

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

24 days 前 | 1

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 days 前 | 2

| 已接受

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 days 前 | 0

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

26 days 前 | 0

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

26 days 前 | 1

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

26 days 前 | 1

| 已接受

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

26 days 前 | 1

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 days 前 | 0

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

1 month 前 | 0

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

1 month 前 | 0

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

1 month 前 | 2

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

1 month 前 | 2

| 已接受

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

1 month 前 | 0

| 已接受

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

1 month 前 | 0

| 已接受

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

1 month 前 | 0

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

1 month 前 | 1

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

1 month 前 | 0

| 已接受

Cross-correlation signal alignment

2 months 前 | 0

| 已接受

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

2 months 前 | 0

How to find the QRS complex for this ECG signal?