Community Profile # William Rose

2007 年からアクティブ

#### 統計

All
• • • • • • • • • • バッジを表示

#### Content Feed

How to tweak an equation to properly fit a dataset using lsqcurvefit?
@Juneight, I would not use interpolation to add points. This will not be a relaible way to improve the fit, since there seem to...

Why does my random walk simulation come out so weird?
@Kevin Nelson, Your formula introduces an increaing probability of "stay the same on each step" as M, the number of walks, grow...

My graph is not picking up my time increments, its suppose to have a nice curve, but its coming out as a straight line.
@BAILEY MCMASTER, clear Ts=30; % ms Td=60; % ms Chs=.001; % L/mmhg Chd=.015; % L/mmhg N=800; % number of elements t=0:1:8...

| 採用済み

Multiple errors- Not that great at Matlab :(
@azaandria, It looks like 3 errors but it is really only one error. Error using DynamicResponse/parfor%supply_1 Index in posi...

3日 前 | 0

help me with for loop
@nirwana, @Stephen23 knows more about Matlab than almost anybody. When he says "I doubt there is much of a difference", I think...

3日 前 | 0

Largest portion of largest correlation coefficient
@Roohollah, I will suggest an approach, but first, why do you want to do this? It sounds suspicious: like you are selecting a ...

4日 前 | 0

calculate volume from iso-surface coordinates (x,y,z).
@Raju, Find the delaunay triangulation of the 3D points with DT=delaunay(x,y,z); This gives a set of tetrahedrons which fill...

5日 前 | 0

Take the product of two probability density function histograms generated from data
@David Gillcrist, Since you did not provide data, let's create some. x1=rand(10000,1)+rand(10000,1); % pdf(x1) = triangle fr...

5日 前 | 0

Extract Epoch from EEG signal at Matlab without EEGLab
@Apkbark, The answer depends on the file structure. Different EEG machines save data in different formats. You will need to u...

7日 前 | 0

Solving system of odes with a power using ode45
@Thomas TJOCK-MBAGA, Yes you can do it with ode45(). dX/dt = -0.000038*X - (X*(X/Xinit)^frac)*rext dY/dt = - 0.000038*Y + re...

7日 前 | 1

Random number generate - Specific values
@Guilherme Lopes de Campos, x=[7,8.5,9.625,12.25]; z=x(randi(4,1,7)) % 7 randomly selected from x z=x(randi(4,1,5000)); % 5...

7日 前 | 0

How to make a nonperiodic signal periodic?
@Matthew, If your goal is for the signal to repeat so that x(7...14)=x(0...7), and x(-7...0)=x(0...7), then I recommend using m...

7日 前 | 0

How do I change datetime values?
@Marcus Johnson, dt1=datetime(1978,12,1)+(0:1/24:23/24); % each hour of the day dt1.Format="yyyy-MM-dd HH:mm"; disp([dt1(1), ...

7日 前 | 0

| 採用済み

How to optimize the problem?
@Hamid Iftikhar, We know from symmetry that the best collector angle will be when the collector points south, i.e. when collect...

7日 前 | 0

| 採用済み

How to optimize the problem?
@Hamid Iftikhar, You ask: "How can I get beta and Z as optimum scalar value that generate whole vector 'th' with values less th...

8日 前 | 1

Inertial Sensor Noise Analysis With Varying Frequency
@Tanner, [edit: fix typos] You do not have to set maxNumM=250 just because your sampling rate is 250 Hz rather than 100 Hz. Yo...

8日 前 | 1

| 採用済み

How to determine stability of transfer function from Nyquist?
@Ali Almakhmari, The answer depends on the form of the transfer functions which you have. Do you have hundreds of polynomials...

12日 前 | 0

| 採用済み

Function "diff" and the loss of an element in the array
@Bryan Ambrósio, [edit: changed the code for plotting d2xdt2. The plotted result is unchanged, but the new verison of the code ...

13日 前 | 0

Units for define max, min and sampling frequency
@Luis Jesús Olvera Lazcano, You call bandpass() as folows: frecuencia_min = 1 / 80; % Min frequency (cycle/day) frecuencia_ma...

13日 前 | 0

| 採用済み

Magnetic Declination in IMU filter
@Mohammad Reza Ramezani, I am confident that the algorithm does not account for magnetic declination. We called it compass var...

13日 前 | 0

can you help me with the Y axis of my graph?
@Laura, I'm not sure what you want the graph to look like. The tiny amplitude of the fluctuations, on top of a large DC value, ...

13日 前 | 1

| 採用済み

Finding the how much two curve got shifted ?
@Amit, [edit: I tried xcorr() and did notlike the results. xcorr() does not have a normalization option that I like. Theref...

14日 前 | 1

| 採用済み

Data analysis - How to recognize local peaks/different areas?
@Jonas Chlechowitz, [edit: I attached each data file twice, by mistake. Removing the extra files.] You should fix the points t...

14日 前 | 1

Solve differential and algebraic equation system
@Surendra Ratnu, [edit: added several comments] Your code includes y0 = [0.1; 0.3024; 1.5725; 0.10]; t = [0 pi]; [t,y] = od...

14日 前 | 0

FFT of vibration data doesnt show frequency peaks on plots
@Mason Landrum, Whatever it is, it is slow: 2 mm in 15 minutes. Your vector for the frequencies that go with the FFT was incor...

14日 前 | 0

| 採用済み

How to rotate a pointcloud data and align parallel with y-z axis?
@Mathanraj, xyz=xlsread('CS_DATA.xls'); C=cov(xyz); [V,D]=eig(C); % eigenvectors and eigenvalues of the covariance matrix d...

15日 前 | 0

please I need help to complete the descriptive statistics and representation of the following figures.
@Ebolo Nkongo, fileIn="global-analysis-forecast-bio-001-028-monthly_1693423231336.nc"; t=ncread(fileIn,'time'); The time data...

15日 前 | 1

| 採用済み

Reformat and Merge Date and Time columns

15日 前 | 0

| 採用済み

how do you offset curves?
@Kathleen, Please post the simplest verion of the problem and the code that illustrate the problem you are trying to solve, to ...

15日 前 | 0

I want to surface plot in the attachment. Also see my code.
@Farooq Aamir, The code you shared does not generate a dataset like the image you shared, so I am not sure exactly what you are...

16日 前 | 0