Answered
How can i do frequency weighted to acceleration time domain data to assessment the whole body vibration as (ISO 2631-1) recommended?
@Yahia Gaddal, Thank you to @Simon Chan for reading your quesiotn carefully and for noticing that you had posted a data file an...

1 month ago | 1

| accepted

Answered
How can i do frequency weighted to acceleration time domain data to assessment the whole body vibration as (ISO 2631-1) recommended?
I tried using the file generated by the code above in'vibriton data'. After clicking sevral buttons I reached a screen that say...

1 month ago | 0

Answered
How can i do frequency weighted to acceleration time domain data to assessment the whole body vibration as (ISO 2631-1) recommended?
@Yahia Gaddal, I decided to test the vibrationdata package of Mr. Tom Irvine by creating some simulated acceleration data. My ...

1 month ago | 0

Answered
How to solve a mass-spring-damper system with external time-dependent forces.
@Muhammad Ali, I am not familiar with the method you used in your code to derive the matrices A and B that describe the system....

1 month ago | 0

| accepted

Answered
How to solve a mass-spring-damper system with external time-dependent forces.
@Muhammad Ali, You do not need to use interpolation to add external forcing. I think a better approach is to compute the force...

1 month ago | 0

Answered
How to solve a mass-spring-damper system with external time-dependent forces.
@Muhammad Ali, I downloaded your code and saved it as coupledMasses1DextForce0.m. When I ran it, I got an error message about ...

1 month ago | 0

Answered
How can I plot a relative frequency histogram in Matlab?
@Eric Bernard Dilger, The overlapping bars in the plot abve are potentially confusing to the viewer. Therefore I added some co...

3 months ago | 1

Answered
How can I plot a relative frequency histogram in Matlab?
@Eric Bernard Dilger, Matlab's histogram() command is nice. Attached script shows how you could use it. It produces the plot be...

3 months ago | 1

| accepted

Answered
What are the option for probabilistic forecast in Matlab for energy forecasting?
@israt fatema, Matlab has many excellent tools for prbabilistic forecasting. A baseline of knowledge is needed...

3 months ago | 0

| accepted

Answered
Finding multiple x-intercepts for a dataset
@Jacob Hohsfield, You said you have a 2D dataset. If you mean the spectrogram, the time dependent Fourier transform, then find...

3 months ago | 1

Answered
Finding multiple x-intercepts for a dataset
@Jacob Hohsfield, Matlab has a very nice peak finding function, findpeaks(), help here: It has nice options, including thresho...

3 months ago | 1

| accepted

Answered
Maximize objective function using fmincon with a limit
@Angel Ani Create the following function and save it as file parameterfun.m: function y=parameterfun(x,U,V,y1,y2) y=-((U*y1 -...

3 months ago | 0

| accepted

Answered
data fitting with custom equation
@Somnath Kale Here is code that fits w and t1 as you requested. For a starting guess [w,t1]=[1,1], the console output and plot ...

3 months ago | 0

| accepted

Question


why does this integral fail?
I created an anonymous function. fun=@(x,t,A,w,t1) (A*w/pi)*(1-exp(-(t/exp(x))^2))/((x-log(t1))^2+w^2) It gives reasonable r...

3 months ago | 1 answer | 0

1

answer

Answered
data fitting with custom equation
@Somnath Kale What is the value of A? Am I correct to understand that the variable of integration is log t0, and it varies fr...

3 months ago | 0

Answered
How to code an instantaneous reaction in Matlab
@Robert Demyanovich, Here is a simulation. Figure 1 shows the concentration profiles at specific time points. The simulation s...

4 months ago | 0

| accepted

Answered
Unknown angles as functions of time
@Dario Saracchi, You can do some algebra before you do some code. Define some constants: d=AB*cos(alfa)-AC*cos(delta) e=AB*si...

4 months ago | 0

| accepted

Answered
How to code an instantaneous reaction in Matlab
@Robert Demyanovich, Do you expect to end up with a partial differential equation, as expected for diffusion? Of course the 1...

4 months ago | 2

Answered
Problem/question with regression
You need at least one more data point to do a standard regression, so that you have more equations than unknowns. Even with mor...

4 months ago | 1

| accepted

Answered
Frequency sweeping in a sinusoidal signal
@Nneka Onubogu, You can initialize the vectors p, x, and y before the loop as follows: dt=4e-6; %(s) fs=1/dt; %(...

4 months ago | 0

| accepted

Answered
line calculations using its known coordinates
Suppose slope of line 1 is a1 and slope of line 2 is a2. Then angle of line 1 relative to x axis is theta1=arctan(a1) and angle ...

4 months ago | 0

Answered
Removing baseline drift from EOG signal
@Mahsa Rm, The initial posting of your question did not include the data file or the figure - at least I did not see them. That ...

4 months ago | 0

Answered
Removing baseline drift from EOG signal
@Mahsa Rm, A high pass filter is usually the solution. You need to specify the cutoff frequency. Oscillaitons below the cutoff...

4 months ago | 0

Answered
Frequency sweeping in a sinusoidal signal
@Nneka Onubogu, Thak you for reformatting the code part of your original post. The original post asks how do I do a chirp from...

4 months ago | 0

Answered
Frequency sweeping in a sinusoidal signal
@Nneka Onubogu, If you highlight your code in your posting, and then click the "code" icon at the top of the pane, it will form...

4 months ago | 0

Answered
Estimation of NegEntropy in MATLAB
@Marimuthu Ananthavelu and @Smriti Thakur, Here is code to estimate the entropy and negentropy of time domain signal, y. In thi...

4 months ago | 0

Answered
How to do estimate Non-gaussianity using Negentropy?
@Maria Amr, I figured it out. Here is an example of a signal y, and how to calculate its entropy (Hent) and its negentropy (J)...

4 months ago | 1

Answered
Estimation of NegEntropy in MATLAB
@Marimuthu Ananthavelu and @Smriti Thakur, pentropy(), in the SIgnal Processing Toolbox, computes the entropy of a signal's pow...

4 months ago | 0

Answered
How to do estimate Non-gaussianity using Negentropy?
@Maria Amr, You will find several questions and answers about negentropy if you search Matlab Answers for negentropy. Negentro...

4 months ago | 1

| accepted

Answered
Want to take a section of a curved line between 2 points
@katherine keogh, interp1(x,y,xq,method) will interpolate in a smooth way. See the help for it here. You tell it the known x'...

4 months ago | 0

Load more