Community Profile

photo

William Rose


Active since 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

View badges

Content Feed

View by

Answered
Given a quadrilateral image, not necessarily a rectangle, how to find its top left point's x-y coordinate
@Yuhong, Since you did not include an image, I will make one. Then I search along the diagonals for a Non-NaN pixel, starting a...

ungefär 14 timmar ago | 0

| accepted

Answered
Gravity turn solver only works for a gamma of 90 degrees
@Jordan Booth This looks like a nice model! Your equation for = d(theta)/dt = dp(2)/dt is dpdt = [... (p(3)*cosd(p...

ungefär 15 timmar ago | 0

Answered
How to plot the volume shared by two 3D shapes
@Michael Boyte, patch() and fill3() are options worth considering. With either approach, you will have define the lens-shaped ...

ungefär 21 timmar ago | 0

| accepted

Answered
Data fitting using thin-plate spline/interpolation
@Pelajar UM, I too am unable to find the coefficients for the thin plate psline model. I can evaluate the fitted model in two ...

en dag ago | 1

| accepted

Answered
How to design a FIR filter by frequency response Datas for shaping white noise
@venkat ta, I think you want to create an FIR filter whose response is equal to the invese of the coherence. I will assume thi...

2 dagar ago | 0

| accepted

Answered
How can i create frequency and time domain from raw data
@ALIFF DANIAL, To plot the time domain data, use plot(). Read the help for plot() if you are unsure. To plot the data in the ...

2 dagar ago | 0

Answered
How do I get I pass out the input parameter to ode45 integration
@Hafeez Jimoh, I think @Torsten, is right, as usual. I think you are simulating a one-dimensional system in which the velocity...

2 dagar ago | 0

| accepted

Answered
I want to know how to solve Green's Theoreom
@명우, The advice from @Roshan Swain is very good. Share your table of Bn, Bt, and share the path you plan to take. (The path i...

2 dagar ago | 0

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

14 dagar ago | 0

| accepted

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

15 dagar ago | 1

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

20 dagar ago | 0

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

20 dagar ago | 1

| accepted

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

22 dagar ago | 0

| accepted

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

22 dagar ago | 1

| accepted

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

22 dagar ago | 0

| accepted

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

22 dagar ago | 0

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

22 dagar ago | 0

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

28 dagar ago | 1

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

28 dagar ago | 1

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

29 dagar ago | 2

| accepted

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

30 dagar ago | 0

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

30 dagar ago | 0

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

30 dagar ago | 1

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

30 dagar ago | 1

| accepted

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

ungefär en månad ago | 1

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

ungefär en månad ago | 0

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

ungefär en månad ago | 0

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

ungefär en månad ago | 0

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

ungefär en månad ago | 2

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

ungefär en månad ago | 2

| accepted

Load more